diff options
author | peter <peter@FreeBSD.org> | 1998-09-28 22:03:01 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-09-28 22:03:01 +0000 |
commit | bc251566331c2ddeec80b202132b3df2c89ba004 (patch) | |
tree | 67fc9fcaee72de860acfc5afa3bb3d6cb7fb1645 /sys | |
parent | 51b3ea754e5f8ee3000a2b2f0e6506c7fd609a4e (diff) | |
download | FreeBSD-src-bc251566331c2ddeec80b202132b3df2c89ba004.zip FreeBSD-src-bc251566331c2ddeec80b202132b3df2c89ba004.tar.gz |
Use the variable with the path in it for the error message.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/common/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index 029e900..85b5741 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; |