From 028f694d862f192695baa2ba59b3b6fc8a5807f6 Mon Sep 17 00:00:00 2001 From: thorpej Date: Fri, 9 Nov 2001 07:36:03 +0000 Subject: [PATCH] Make an error message more informative. --- gnu/usr.sbin/dbsym/dbsym.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/usr.sbin/dbsym/dbsym.c b/gnu/usr.sbin/dbsym/dbsym.c index f345f383291b..d0614523e621 100644 --- a/gnu/usr.sbin/dbsym/dbsym.c +++ b/gnu/usr.sbin/dbsym/dbsym.c @@ -1,4 +1,4 @@ -/* $NetBSD: dbsym.c,v 1.1 2001/11/09 05:52:21 thorpej Exp $ */ +/* $NetBSD: dbsym.c,v 1.2 2001/11/09 07:36:03 thorpej Exp $ */ /* * Copyright (c) 2001 Simon Burge (for Wasabi Systems) @@ -38,7 +38,7 @@ __COPYRIGHT( #endif /* not lint */ #ifndef lint -__RCSID("$NetBSD: dbsym.c,v 1.1 2001/11/09 05:52:21 thorpej Exp $"); +__RCSID("$NetBSD: dbsym.c,v 1.2 2001/11/09 07:36:03 thorpej Exp $"); #endif /* not lint */ #include @@ -123,9 +123,9 @@ main(int argc, char **argv) errx(1, "no symbol table in %s", kfile); if (find_symtab(abfd, db_symtab_symbols) != 0) - errx(1, "could not find symbols in %s", kfile); + errx(1, "could not find SYMTAB_SPACE in %s", kfile); if (verbose) - fprintf(stderr, "got symtab symbols from %s\n", kfile); + fprintf(stderr, "got SYMTAB_SPACE symbols from %s\n", kfile); if (load_symtab(kfd, &symtab, &symtabsize) != 0) errx(1, "could not load symbol table from %s", kfile);