Use the variable with the path in it for the error message.

This commit is contained in:
Peter Wemm 1998-09-28 22:03:01 +00:00
parent 699f872732
commit 29a1d9c4e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39732

View File

@ -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;