summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_sym.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-08 06:43:57 +0000
committerbde <bde@FreeBSD.org>1998-07-08 06:43:57 +0000
commite4073f6c6f4a289d5835689c40d16570af33de12 (patch)
treeb3ad7a56c10aa333f9ae5cb948681899c4762997 /sys/ddb/db_sym.c
parent831331ce50c7e9a030bdecbc1be8eb330079600b (diff)
downloadFreeBSD-src-e4073f6c6f4a289d5835689c40d16570af33de12.zip
FreeBSD-src-e4073f6c6f4a289d5835689c40d16570af33de12.tar.gz
Fixed db_printf format errors.
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r--sys/ddb/db_sym.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index a277769..4f313e9 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_sym.c,v 1.22 1998/06/10 10:56:13 dfr Exp $
+ * $Id: db_sym.c,v 1.23 1998/06/28 00:55:00 dfr Exp $
*/
/*
@@ -300,11 +300,11 @@ db_printsym(off, strategy)
if (name == 0)
value = off;
if (value >= DB_SMALL_VALUE_MIN && value <= DB_SMALL_VALUE_MAX) {
- db_printf("%+#ln", off);
+ db_printf("%+#ln", (long)off);
return;
}
if (name == 0 || d >= db_maxoff) {
- db_printf("%#ln", off);
+ db_printf("%#ln", (unsigned long)off);
return;
}
db_printf("%s", name);
OpenPOWER on IntegriCloud