summaryrefslogtreecommitdiffstats
path: root/loader2/hdinstall.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/hdinstall.c')
-rw-r--r--loader2/hdinstall.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/hdinstall.c b/loader2/hdinstall.c
index 5b2ec9b01..e887b8efb 100644
--- a/loader2/hdinstall.c
+++ b/loader2/hdinstall.c
@@ -189,7 +189,8 @@ static char * setupIsoImages(char * device, char * dirName, int flags) {
/* XXX try to mount as ext2 and then vfat */
for (type=typetry; *type; type++) {
- if (!doPwMount("/tmp/hddev", "/tmp/hdimage", *type, 1, 0, NULL, NULL, 0, 0))
+ if (!doPwMount("/tmp/hddev", "/tmp/hdimage", *type,
+ IMOUNT_RDONLY, NULL))
break;
}