diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-20 16:22:42 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-20 16:22:42 +0000 |
commit | 806de2455413e696b64e6ae441b647821c0b708b (patch) | |
tree | 5e32931f0b909594bf29aa739aa3773a7c664978 /usr.sbin/sysinstall/devices.c | |
parent | f00e58217f556ad8ae5dea6e017a8c64bd105ab6 (diff) | |
download | FreeBSD-src-806de2455413e696b64e6ae441b647821c0b708b.zip FreeBSD-src-806de2455413e696b64e6ae441b647821c0b708b.tar.gz |
Misc cpio evil. I think I'm going to start working locally and just deal
with the diff/CVS hassles - this represents far too many CVS commit
messages for you folks, and trying to document each and every iteration
of the code is a hassle (and not very useful at that).
Diffstat (limited to 'usr.sbin/sysinstall/devices.c')
-rw-r--r-- | usr.sbin/sysinstall/devices.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/devices.c b/usr.sbin/sysinstall/devices.c index b795db3..529eba5 100644 --- a/usr.sbin/sysinstall/devices.c +++ b/usr.sbin/sysinstall/devices.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: devices.c,v 1.23 1995/05/20 15:47:18 jkh Exp $ + * $Id: devices.c,v 1.24 1995/05/20 15:49:53 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -130,7 +130,7 @@ deviceTry(char *name, char *try) if (fd > 0) return fd; snprintf(try, FILENAME_MAX, "/mnt/dev/%s", name); - fd = open(try, O_RDONLY); + fd = open(try, O_RDWR); return fd; } @@ -226,7 +226,7 @@ deviceGetAll(void) close(fd); deviceRegister(device_names[i].name, device_names[i].description, strdup(try), DEVICE_TYPE_FLOPPY, TRUE, mediaInitFloppy, mediaGetFloppy, mediaCloseFloppy, NULL); - msgDebug("Found a device of type TAPE named: %s\n", device_names[i].name); + msgDebug("Found a device of type floppy named: %s\n", device_names[i].name); } break; |