diff options
author | bde <bde@FreeBSD.org> | 1998-07-08 10:53:58 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-08 10:53:58 +0000 |
commit | c9efed72bc8dec26d2f4b9e8e0f798fd6c0b09a4 (patch) | |
tree | 80c572fd7be896b8222146b062af0b33e4651633 /sys/ddb/db_sym.c | |
parent | b5d9d2e7066642affdab55e8415242ac5619218d (diff) | |
download | FreeBSD-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_sym.c')
-rw-r--r-- | sys/ddb/db_sym.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c index 3b1dd2e..60d48ec 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.24 1998/07/08 06:43:56 bde Exp $ + * $Id: db_sym.c,v 1.25 1998/07/08 09:11:38 bde Exp $ */ /* @@ -300,16 +300,16 @@ db_printsym(off, strategy) if (name == 0) value = off; if (value >= DB_SMALL_VALUE_MIN && value <= DB_SMALL_VALUE_MAX) { - db_printf("%+#ln", (long)off); + db_printf("%+#lr", (long)off); return; } if (name == 0 || d >= (unsigned long)db_maxoff) { - db_printf("%#ln", (unsigned long)off); + db_printf("%#lr", (unsigned long)off); return; } db_printf("%s", name); if (d) - db_printf("+%+#n", d); + db_printf("+%+#r", d); if (strategy == DB_STGY_PROC) { if (db_line_at_pc(cursym, &filename, &linenum, off)) db_printf(" [%s:%d]", filename, linenum); |