summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_print.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-08 10:53:58 +0000
committerbde <bde@FreeBSD.org>1998-07-08 10:53:58 +0000
commitc9efed72bc8dec26d2f4b9e8e0f798fd6c0b09a4 (patch)
tree80c572fd7be896b8222146b062af0b33e4651633 /sys/ddb/db_print.c
parentb5d9d2e7066642affdab55e8415242ac5619218d (diff)
downloadFreeBSD-src-c9efed72bc8dec26d2f4b9e8e0f798fd6c0b09a4.zip
FreeBSD-src-c9efed72bc8dec26d2f4b9e8e0f798fd6c0b09a4.tar.gz
Use not-so-new printf formats %r and/or %z instead of %n and/or %+x.
Diffstat (limited to 'sys/ddb/db_print.c')
-rw-r--r--sys/ddb/db_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_print.c b/sys/ddb/db_print.c
index 86e95b6..5fe4b53 100644
--- a/sys/ddb/db_print.c
+++ b/sys/ddb/db_print.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_print.c,v 1.21 1998/07/08 06:43:54 bde Exp $
+ * $Id: db_print.c,v 1.22 1998/07/08 09:11:37 bde Exp $
*/
/*
@@ -53,13 +53,13 @@ db_show_regs(dummy1, dummy2, dummy3, dummy4)
for (regp = db_regs; regp < db_eregs; regp++) {
db_read_variable(regp, &value);
- db_printf("%-12s%#10ln", regp->name, (unsigned long)value);
+ db_printf("%-12s%#10lr", regp->name, (unsigned long)value);
db_find_xtrn_sym_and_offset((db_addr_t)value, &name, &offset);
if (name != 0 && offset <= (unsigned long)db_maxoff &&
offset != value) {
db_printf("\t%s", name);
if (offset != 0)
- db_printf("+%+#n", offset);
+ db_printf("+%+#r", offset);
}
db_printf("\n");
}
OpenPOWER on IntegriCloud