Skip to contentSkip to conversation

-name error message should have trailing newline

Qemu-devel John Morrissey 3 participants 3 messages Oct 18, 2010 – Aug 12, 2011

lore
Share & tools
lore
#0 lore raw

Public bug reported:

Trivial, but it was triggering the OCD.

vl.c +1 -1
index df414ef..9c76a55 100644
@@ -2524,7 +2524,7 @@ int main(int argc, char **argv, char **envp)
                     if (p != NULL) {
                        *p++ = 0;
                        if (strncmp(p, "process=", 8)) {
-                           fprintf(stderr, "Unknown subargument %s to -name", p
+                           fprintf(stderr, "Unknown subargument %s to -name\n",
                            exit(1);
                        }
                        p += 8;

** Affects: qemu
Importance: Undecided
Status: New

Signature · 9 lines
-name error message should have trailing newline
https://bugs.launchpad.net/bugs/662461
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
Trivial, but it was triggering the OCD.
vl.c +1 -1
index df414ef..9c76a55 100644
@@ -2524,7 +2524,7 @@ int main(int argc, char **argv, char **envp)
                     if (p != NULL) {
                        *p++ = 0;
                        if (strncmp(p, "process=", 8)) {
-                           fprintf(stderr, "Unknown subargument %s to -name", p
+                           fprintf(stderr, "Unknown subargument %s to -name\n",
                            exit(1);
                        }
                        p += 8;
#1 lore raw

It looks like this change (or equivalent) was applied by Aurelien Jarno in 5697f6ae4183f3b3320a1fe677e3404a05e75783

Thanks for reporting it and providing the fix.

** Changed in: qemu
Status: New => Fix Committed

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/662461

Title:
  -name error message should have trailing newline

Status in QEMU:
  Fix Committed

Bug description:
  Trivial, but it was triggering the OCD.

  diff --git a/vl.c b/vl.c
  index df414ef..9c76a55 100644
  --- a/vl.c
  +++ b/vl.c
  @@ -2524,7 +2524,7 @@ int main(int argc, char **argv, char **envp)
                       if (p != NULL) {
                          *p++ = 0;
                          if (strncmp(p, "process=", 8)) {
  -                           fprintf(stderr, "Unknown subargument %s to -name", p
  +                           fprintf(stderr, "Unknown subargument %s to -name\n",
                              exit(1);
                          }
                          p += 8;
#2 lore raw
In reply to John Morrissey

QEMU 0.15.0 has been released with a fix for this bug.

** Changed in: qemu
Status: Fix Committed => Fix Released

Signature · 29 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/662461

Title:
  -name error message should have trailing newline

Status in QEMU:
  Fix Released

Bug description:
  Trivial, but it was triggering the OCD.

  diff --git a/vl.c b/vl.c
  index df414ef..9c76a55 100644
  --- a/vl.c
  +++ b/vl.c
  @@ -2524,7 +2524,7 @@ int main(int argc, char **argv, char **envp)
                       if (p != NULL) {
                          *p++ = 0;
                          if (strncmp(p, "process=", 8)) {
  -                           fprintf(stderr, "Unknown subargument %s to -name", p
  +                           fprintf(stderr, "Unknown subargument %s to -name\n",
                              exit(1);
                          }
                          p += 8;

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/662461/+subscriptions