Patchwork [Bug,662461,NEW] -name error message should have trailing newline

login
register
mail settings
Submitter John Morrissey
Date Oct. 18, 2010, 1:43 a.m.
Message ID <20101018014325.24274.97914.malonedeb@potassium.ubuntu.com>
Download mbox | patch
Permalink /patch/68102/
State New
Headers show

Comments

John Morrissey - Oct. 18, 2010, 1:43 a.m.
Public bug reported:

Trivial, but it was triggering the OCD.
Brad Hards - April 23, 2011, 11:41 a.m.
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
Peter Maydell - Aug. 12, 2011, 5:53 p.m.
QEMU 0.15.0 has been released with a fix for this bug.


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

Patch

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;

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
-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.

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;