diff options
author | bde <bde@FreeBSD.org> | 1998-07-08 06:43:57 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-08 06:43:57 +0000 |
commit | e4073f6c6f4a289d5835689c40d16570af33de12 (patch) | |
tree | b3ad7a56c10aa333f9ae5cb948681899c4762997 /sys/ddb/db_sym.c | |
parent | 831331ce50c7e9a030bdecbc1be8eb330079600b (diff) | |
download | FreeBSD-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.c | 6 |
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); |