Module Name: src
Committed By: christos
Date: Fri Feb 10 02:14:04 UTC 2012
Modified Files:
src/sys/ddb: db_sym.c
Log Message:
fix printf formats.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/ddb/db_sym.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/ddb/db_sym.c
diff -u src/sys/ddb/db_sym.c:1.63 src/sys/ddb/db_sym.c:1.64
--- src/sys/ddb/db_sym.c:1.63 Thu Feb 9 12:07:07 2012
+++ src/sys/ddb/db_sym.c Thu Feb 9 21:14:04 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: db_sym.c,v 1.63 2012/02/09 17:07:07 christos Exp $ */
+/* $NetBSD: db_sym.c,v 1.64 2012/02/10 02:14:04 christos Exp $ */
/*
* Mach Operating System
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.63 2012/02/09 17:07:07 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_sym.c,v 1.64 2012/02/10 02:14:04 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddbparam.h"
@@ -410,7 +410,7 @@ db_printsym(db_expr_t off, db_strategy_t
}
return;
}
- (*pr)(db_num_to_str(off));
+ (*pr)("%s", db_num_to_str(off));
return;
}
#endif
@@ -437,7 +437,7 @@ db_printsym(db_expr_t off, db_strategy_t
}
}
#endif
- (*pr)(db_num_to_str(off));
+ (*pr)("%s", db_num_to_str(off));
return;
}