diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 15:25:19 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-22 15:25:19 +0000 |
| commit | e20037ab6be5759ba1ff3790de6d9af3c8704aea (patch) | |
| tree | fc206a77e26a2202b9b5335b2f2ec9785f83a629 | |
| parent | 4af9c6707cef8306bc1de95917f24c4cddcf02a7 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/sade/install.c | 6 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/install.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c index 731ade058b73..40dd3027f59b 100644 --- a/usr.sbin/sade/install.c +++ b/usr.sbin/sade/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; diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index 731ade058b73..40dd3027f59b 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; |
