summaryrefslogtreecommitdiff
path: root/libdiskfs/boot-parse.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-08 00:27:34 +0000
committerRoland McGrath <roland@gnu.org>1994-10-08 00:27:34 +0000
commitb908b2398996527a55f6d10ae6ec025d7201911e (patch)
tree454cb5dc4d0f21d3c8a3856f60e070f73031b06b /libdiskfs/boot-parse.c
parente627f58514c9eca0e32ae82211f5756710f9e79f (diff)
Formerly boot-parse.c.~10~
Diffstat (limited to 'libdiskfs/boot-parse.c')
-rw-r--r--libdiskfs/boot-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/boot-parse.c b/libdiskfs/boot-parse.c
index 288f271c..15814ef0 100644
--- a/libdiskfs/boot-parse.c
+++ b/libdiskfs/boot-parse.c
@@ -132,7 +132,7 @@ diskfs_parse_bootargs (int argc, char **argv)
devname = argv[4];
}
- (void) device_open (diskfs_master_device, D_WRITE, "console", &con);
+ (void) device_open (diskfs_master_device, D_READ|D_WRITE, "console", &con);
stderr = stdout = mach_open_devstream (con, "w");
stdin = mach_open_devstream (con, "r");