diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-08 22:48:30 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-04-08 22:48:30 +0000 |
commit | aa09cbe6cd29ed0d0321436b763061d809e5a197 (patch) | |
tree | ecceab0775de990bcf5991bb5d88dc85d9b1d530 /sys/stand/boot | |
parent | 674a4a1451d0f7b67c93e8b86ffb5d7463597990 (diff) |
use new device names: fd(0,a) -> fd0a
Diffstat (limited to 'sys/stand/boot')
-rw-r--r-- | sys/stand/boot/cmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index 5eeaf3ee0f8..07b9d251df0 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.4 1997/04/07 01:26:00 weingart Exp $ */ +/* $OpenBSD: cmd.c,v 1.5 1997/04/08 22:48:29 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -253,7 +253,7 @@ execmd(cmd) strncpy (cmd->path, cmd->argv[1], sizeof(cmd->path)); else - sprintf(cmd->path, "%s%s/.", + sprintf(cmd->path, "%s:%s/.", cmd->bootdev, cmd->cwd); if (stat(cmd->path, &sb) < 0) { @@ -308,7 +308,7 @@ execmd(cmd) break; } - sprintf(cmd->path, "%s%s%s", + sprintf(cmd->path, "%s:%s%s", cmd->bootdev, cmd->cwd, cmd->argv[1]); if (stat(cmd->path, &sb) < 0) { printf("stat(%s): %d\n", cmd->argv[1], errno); @@ -357,7 +357,7 @@ execmd(cmd) if (cmd->argc > 1) strncpy(cmd->path, cmd->argv[1], sizeof(cmd->path)); else - sprintf(cmd->path, "%s%s%s", cmd->bootdev, + sprintf(cmd->path, "%s:%s%s", cmd->bootdev, cmd->cwd, cmd->image); cmd->rc = 1; break; |