summaryrefslogtreecommitdiff
path: root/sys/kern/subr_stack.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-12-03 14:44:35 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-12-03 14:44:35 +0000
commit56905239ae29954b34d99f74bc04cadd7852f248 (patch)
tree7647dd68717ab72c1f5e45070db4d51db21e6074 /sys/kern/subr_stack.c
parent4a95df55c355836c1f7929a264d192fc7845826b (diff)
Notes
Diffstat (limited to 'sys/kern/subr_stack.c')
-rw-r--r--sys/kern/subr_stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_stack.c b/sys/kern/subr_stack.c
index db03ccfdf57d..c2b2cc0156bf 100644
--- a/sys/kern/subr_stack.c
+++ b/sys/kern/subr_stack.c
@@ -208,7 +208,7 @@ stack_symbol(vm_offset_t pc, char *namebuf, u_int buflen, long *offset)
if (linker_search_symbol_name((caddr_t)pc, namebuf, buflen,
offset) != 0) {
*offset = 0;
- strlcpy(namebuf, "Unknown func", buflen);
+ strlcpy(namebuf, "??", buflen);
}
}
@@ -220,7 +220,7 @@ stack_symbol_ddb(vm_offset_t pc, char *namebuf, u_int buflen, long *offset)
if (linker_ddb_search_symbol_name((caddr_t)pc, namebuf, buflen,
offset) != 0) {
*offset = 0;
- strlcpy(namebuf, "Unknown func", buflen);
+ strlcpy(namebuf, "??", buflen);
};
}
#endif