summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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