summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/disk.c
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-10-21 17:01:42 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-10-21 17:01:42 +0000
commitc8b7f64a48d3fd4fc2e6aeec414946500d6a0f67 (patch)
treea22326e32854b316f223256c7cfcfdbd59e35d26 /mdk-stage1/disk.c
parent5a7bee561c707c118bb27006c7c5f275177e9749 (diff)
downloaddrakx-c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67.tar
drakx-c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67.tar.gz
drakx-c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67.tar.bz2
drakx-c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67.tar.xz
drakx-c8b7f64a48d3fd4fc2e6aeec414946500d6a0f67.zip
fix pixel
Diffstat (limited to 'mdk-stage1/disk.c')
-rw-r--r--mdk-stage1/disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/disk.c b/mdk-stage1/disk.c
index 83c698334..9dff3d184 100644
--- a/mdk-stage1/disk.c
+++ b/mdk-stage1/disk.c
@@ -255,7 +255,7 @@ static enum return_type try_with_device(char *dev_name)
if (!stat(location_full, &statbuf) && !S_ISDIR(statbuf.st_mode)) {
log_message("%s exists and is not a directory, assuming this is an ISO image", location_full);
- if (lomount(location_full, IMAGE_LOCATION)) {
+ if (lomount(location_full, IMAGE_LOCATION, 0)) {
stg1_error_message("Could not mount file %s as an ISO image of the " DISTRIB_NAME " Distribution.", answers_location[0]);
umount(disk_own_mount);
return try_with_device(dev_name);