diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/boot-parse.c | 2 |
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"); |