From 81502b2227e9fce2fb30eedfc59004dca8c440bb Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 22 Oct 2002 15:25:19 +0000 Subject: Remove more private MAKEDEV kludges. --- usr.sbin/sysinstall/install.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/sysinstall') diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 731ade0..40dd302 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/install.c @@ -939,8 +939,8 @@ installFilesystems(dialogMenuItem *self) if (swapdev && RunningAsInit) { /* As the very first thing, try to get ourselves some swap space */ sprintf(dname, "/dev/%s", swapdev->name); - if (!Fake && (!MakeDevChunk(swapdev, "/dev") || !file_readable(dname))) { - msgConfirm("Unable to make device node for %s in /dev!\n" + if (!Fake && !file_readable(dname)) { + msgConfirm("Unable to find device node for %s in /dev!\n" "The creation of filesystems will be aborted.", dname); return DITEM_FAILURE; } @@ -961,7 +961,7 @@ installFilesystems(dialogMenuItem *self) if (rootdev && RunningAsInit) { /* Next, create and/or mount the root device */ sprintf(dname, "/dev/%s", rootdev->name); - if (!Fake && (!MakeDevChunk(rootdev, "/dev") || !file_readable(dname))) { + if (!Fake && !file_readable(dname)) { msgConfirm("Unable to make device node for %s in /dev!\n" "The creation of filesystems will be aborted.", dname); return DITEM_FAILURE | DITEM_RESTORE; -- cgit v1.1