Module Name:    src
Committed By:   christos
Date:           Sun Dec 13 18:51:14 UTC 2015

Modified Files:
        src/sys/arch/alpha/stand/standtest: test.c

Log Message:
PR/50530: David Binderman: Add missing printf args


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/alpha/stand/standtest/test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/alpha/stand/standtest/test.c
diff -u src/sys/arch/alpha/stand/standtest/test.c:1.5 src/sys/arch/alpha/stand/standtest/test.c:1.6
--- src/sys/arch/alpha/stand/standtest/test.c:1.5	Sat Jan 22 14:19:15 2011
+++ src/sys/arch/alpha/stand/standtest/test.c	Sun Dec 13 13:51:14 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: test.c,v 1.5 2011/01/22 19:19:15 joerg Exp $ */
+/* $NetBSD: test.c,v 1.6 2015/12/13 18:51:14 christos Exp $ */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -275,7 +275,7 @@ toplevel_dpb(const char *buf)
 	}
 	buf = cvt_number(buf, &startaddr);
 	if (*buf != '\0' && !isspace(*buf)) {
-		printf("bad character '%c' in starting address\n");
+		printf("bad character '%c' in starting address\n", *buf);
 		return;
 	}
 
@@ -283,7 +283,7 @@ toplevel_dpb(const char *buf)
 	if (buf != NULL) {
 		buf = cvt_number(buf, &count);
 		if (*buf != '\0' && !isspace(*buf)) {
-			printf("bad character '%c' in count\n");
+			printf("bad character '%c' in count\n", *buf);
 			return;
 		}
 		buf = advance_past_space(buf);

Reply via email to