diff options
Diffstat (limited to 'sys/ddb/db_sym.c')
-rw-r--r-- | sys/ddb/db_sym.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/ddb/db_sym.c b/sys/ddb/db_sym.c index 8c5f91e97927..60d48ec0c960 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; } |