This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH COMMITTED] trivial: missing newline in test-multiarch.c


Hi,

while checking something, I noticed test-multiarch.c misses a newline
in a printf output; I just committed the following trivial patch
(hope it is okay):

diff --git a/ChangeLog b/ChangeLog
index 4f19853..c74ee73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
+
+       * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
+       printf output with newline.
+
 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>

        [BZ #14865]
diff --git a/sysdeps/x86_64/multiarch/test-multiarch.c b/sysdeps/x86_64/multiarch/test-multiarch.c
index 76b1af2..4b91ae3 100644
--- a/sysdeps/x86_64/multiarch/test-multiarch.c
+++ b/sysdeps/x86_64/multiarch/test-multiarch.c
@@ -36,7 +36,7 @@ get_cpuinfo (void)
   f = fopen ("/proc/cpuinfo", "r");
   if (f == NULL)
     {
-      printf ("cannot open /proc/cpuinfo");
+      printf ("cannot open /proc/cpuinfo\n");
       exit (1);
     }


-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]