From 517258aaf3627e15903b4ff32cb5f8c564c2d5ad Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 7 Jun 2013 18:50:40 +0200 Subject: [PATCH] Fix some printf()s. --- test/sysperf/memcpy.c | 4 +--- test/sysperf/memzero.c | 4 +--- usr.bin/tip/libacu/unidialer.c | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/test/sysperf/memcpy.c b/test/sysperf/memcpy.c index f71dc63156..d8d466c820 100644 --- a/test/sysperf/memcpy.c +++ b/test/sysperf/memcpy.c @@ -1,7 +1,5 @@ /* * memcpy.c - * - * $DragonFly: src/test/sysperf/memcpy.c,v 1.1 2004/04/29 16:14:53 dillon Exp $ */ #include "blib.h" @@ -50,7 +48,7 @@ main(int ac, char **av) case 0: break; default: - fprintf(stderr, "suffix '%s' not understood\n"); + fprintf(stderr, "suffix '%s' not understood\n", ptr); exit(1); } if (bytes <= 0 && (bytes & 127)) { diff --git a/test/sysperf/memzero.c b/test/sysperf/memzero.c index 1055e4ff5c..14524a39fc 100644 --- a/test/sysperf/memzero.c +++ b/test/sysperf/memzero.c @@ -1,7 +1,5 @@ /* * memzero.c - * - * $DragonFly: src/test/sysperf/memzero.c,v 1.1 2004/04/29 16:14:53 dillon Exp $ */ #include "blib.h" @@ -48,7 +46,7 @@ main(int ac, char **av) case 0: break; default: - fprintf(stderr, "suffix '%s' not understood\n"); + fprintf(stderr, "suffix '%s' not understood\n", ptr); exit(1); } if (bytes <= 0 && (bytes & 127)) { diff --git a/usr.bin/tip/libacu/unidialer.c b/usr.bin/tip/libacu/unidialer.c index b57f147ab3..77b6150525 100644 --- a/usr.bin/tip/libacu/unidialer.c +++ b/usr.bin/tip/libacu/unidialer.c @@ -345,7 +345,7 @@ int unidialer_get_modem_response (char *buf, int bufsz, int response_timeout) if (c == '\n') { #ifdef DEBUG - printf ("get_response: encountered.\n", buf); + printf ("get_response: encountered.\n"); #endif ++state; } -- 2.41.0