summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/tst01.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-05-31 00:51:57 +0000
committermsmith <msmith@FreeBSD.org>2000-05-31 00:51:57 +0000
commit2dbe92be83d7108aa9708dc52c5aa009e76b3805 (patch)
treef4c9f4edd806690f89d0bae7ab43b8d522f48458 /lib/libdisk/tst01.c
parent5f28a02db5e6657d5061b3a95224d4f4d9884230 (diff)
downloadFreeBSD-src-2dbe92be83d7108aa9708dc52c5aa009e76b3805.zip
FreeBSD-src-2dbe92be83d7108aa9708dc52c5aa009e76b3805.tar.gz
/dev/rXXX -> /dev/XXX
This should fix sysinstall and other tools that don't expect the 'r' devices to exist anymore (and thus don't create them).
Diffstat (limited to 'lib/libdisk/tst01.c')
-rw-r--r--lib/libdisk/tst01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdisk/tst01.c b/lib/libdisk/tst01.c
index c23169a..9702ff2 100644
--- a/lib/libdisk/tst01.c
+++ b/lib/libdisk/tst01.c
@@ -91,7 +91,7 @@ Scan_Disk(struct disk *d)
u_long l;
int i,j,fd;
- strcpy(device,"/dev/r");
+ strcpy(device,"/dev/");
strcat(device,d->name);
fd = open(device,O_RDWR);
OpenPOWER on IntegriCloud