summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_examine.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-01-21 19:18:46 +0000
committerbde <bde@FreeBSD.org>1996-01-21 19:18:46 +0000
commit7e5df308af3b38a68b5ae6c79980f71a7c4b90da (patch)
treef5a20c30cd0b0ebdcc377adfffa606800c52b000 /sys/ddb/db_examine.c
parent40fd4c6ff2a576537d917741c3d11cf70c1aa178 (diff)
downloadFreeBSD-src-7e5df308af3b38a68b5ae6c79980f71a7c4b90da.zip
FreeBSD-src-7e5df308af3b38a68b5ae6c79980f71a7c4b90da.tar.gz
Fixed the one remaining %r.
Diffstat (limited to 'sys/ddb/db_examine.c')
-rw-r--r--sys/ddb/db_examine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c
index ce7cff6..1f4de6a 100644
--- a/sys/ddb/db_examine.c
+++ b/sys/ddb/db_examine.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_examine.c,v 1.12 1995/12/10 19:07:55 bde Exp $
+ * $Id: db_examine.c,v 1.13 1996/01/15 22:39:32 phk Exp $
*/
/*
@@ -117,7 +117,7 @@ db_examine(addr, fmt, count)
case 'r': /* signed, current radix */
value = db_get_value(addr, size, TRUE);
addr += size;
- db_printf("%-*r", width, value);
+ db_printf("%+-*n", width, value);
break;
case 'x': /* unsigned hex */
value = db_get_value(addr, size, FALSE);
OpenPOWER on IntegriCloud