summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/install.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-02-10 18:31:27 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-02-10 18:31:27 +0000
commit59617ad4b8107419b5594505e1b54245d0c1a130 (patch)
treef0e48acf051e7dc49b8e72a48608067e8922ed09 /usr.sbin/sysinstall/install.c
parent2f83bdb269865d8611eebf67a18143190e528f4a (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/install.c')
-rw-r--r--usr.sbin/sysinstall/install.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 2a7d183a5a67..6c989f9d0b0c 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: install.c,v 1.203 1997/12/29 20:07:17 jkh Exp $
+ * $Id: install.c,v 1.204 1998/01/16 15:07:55 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -874,7 +874,7 @@ installFilesystems(dialogMenuItem *self)
if (rootdev && RunningAsInit) {
/* Next, create and/or mount the root device */
- sprintf(dname, "/dev/r%sa", rootdev->disk->name);
+ sprintf(dname, "/dev/r%s", rootdev->name);
if (!Fake && (!MakeDevChunk(rootdev, "/dev") || !file_readable(dname))) {
msgConfirm("Unable to make device node for %s in /dev!\n"
"The creation of filesystems will be aborted.", dname);
@@ -907,7 +907,7 @@ installFilesystems(dialogMenuItem *self)
}
/* Switch to block device */
- sprintf(dname, "/dev/%sa", rootdev->disk->name);
+ sprintf(dname, "/dev/%s", rootdev->name);
if (Mount("/mnt", dname)) {
msgConfirm("Unable to mount the root file system on %s! Giving up.", dname);
return DITEM_FAILURE;