summaryrefslogtreecommitdiff
path: root/sys/ddb/db_sym.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 23:09:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 23:09:26 +0000
commit9304bb58c096915708de51c647c64a387c5e1338 (patch)
tree61b7b7811c33b48bc43fd41bdd315ccc8a82b1ab /sys/ddb/db_sym.c
parent9ec92f3d98a4f9f781f84d2c7f911c9934f925b0 (diff)
64 bit fixes
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r--sys/ddb/db_sym.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index d39bd76ea14..a52e70d7c8b 100644
--- a/sys/ddb/db_sym.c
+++ b/sys/ddb/db_sym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_sym.c,v 1.19 1997/05/29 03:28:44 mickey Exp $ */
+/* $OpenBSD: db_sym.c,v 1.20 1997/07/06 23:09:25 niklas Exp $ */
/* $NetBSD: db_sym.c,v 1.12 1996/02/05 01:57:15 christos Exp $ */
/*
@@ -363,13 +363,15 @@ db_printsym(off, strategy)
if (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);
+ if (db_line_at_pc(cursym, &filename, &linenum,
+ off))
+ db_printf(" [%s:%d]", filename,
+ linenum);
}
return;
}
}
- db_printf("%#n", off);
+ db_printf("%#ln", off);
return;
}