From 29a1d9c4e65280a48a5b31db4a82748c187bebbc Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 28 Sep 1998 22:03:01 +0000 Subject: [PATCH] Use the variable with the path in it for the error message. --- sys/boot/common/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index 029e900d6ce9..85b5741fa01c 100644 --- a/sys/boot/common/boot.c +++ b/sys/boot/common/boot.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: boot.c,v 1.1.1.1 1998/08/21 03:17:41 msmith Exp $ + * $Id: boot.c,v 1.2 1998/08/31 21:10:42 msmith Exp $ */ /* @@ -76,7 +76,7 @@ command_boot(int argc, char *argv[]) if (mod_findmodule(NULL, NULL) == NULL) { for (try = 0; (cp = getbootfile(try)) != NULL; try++) { if (mod_load(cp, argc - 1, argv + 1) != 0) { - printf("can't load '%s'\n", argv[0]); + printf("can't load '%s'\n", cp); } else { /* we have consumed all arguments */ argc = 1;