summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_command.c4
-rw-r--r--sys/ddb/db_sym.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index cb41d85694f34..1a44450cdfc7c 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_command.c,v 1.28 1998/07/08 10:53:45 bde Exp $
+ * $Id: db_command.c,v 1.27 1998/05/19 18:42:03 phk Exp $
*/
/*
@@ -35,7 +35,7 @@
* Command dispatcher.
*/
#include <sys/param.h>
-#include <sys/linker_set.h>
+#include <sys/kernel.h>
#include <sys/reboot.h>
#include <sys/systm.h>
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c
index 8c5f91e979273..60d48ec0c9603 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.26 1998/07/08 10:53:51 bde Exp $
+ * $Id: db_sym.c,v 1.25 1998/07/08 09:11:38 bde Exp $
*/
/*
@@ -91,7 +91,9 @@ db_qualify(sym, symtabname)
static char tmp[256];
db_symbol_values(sym, &symname, 0);
- snprintf(tmp, sizeof(tmp), "%s:%s", symtabname, symname);
+ strcpy(tmp,symtabname);
+ strcat(tmp,":");
+ strcat(tmp,symname);
return tmp;
}