]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: fix mis-fixed format string
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 15 Dec 2016 23:14:55 +0000 (00:14 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 16 Dec 2016 19:42:01 +0000 (20:42 +0100)
PRIu64 is "u", we need "x", so PRIx64...

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Cc: Donald Sharp <sharpd@cumulusnetworks.com>
tests/test-stream.c

index 7ef6374756a960203594ba25ffa71346b7d43cb5..3ac45eb203ee4efed0e6bbe4fa1e7d860a30378f 100644 (file)
@@ -70,7 +70,7 @@ main (void)
   printf ("c: 0x%hhx\n", stream_getc (s));
   printf ("w: 0x%hx\n", stream_getw (s));
   printf ("l: 0x%x\n", stream_getl (s));
-  printf ("q: 0x%" PRIu64 "\n", stream_getq (s));
+  printf ("q: 0x%" PRIx64 "\n", stream_getq (s));
   
   return 0;
 }