summaryrefslogtreecommitdiff
path: root/syslinux.c
diff options
context:
space:
mode:
authorhpa <hpa>1998-02-20 22:35:47 +0000
committerhpa <hpa>1998-02-20 22:35:47 +0000
commita417328c103fb00701f4b437f5b58f1857828433 (patch)
tree6f9a6c7c6388cb19abdb0bb3cead899069e9332a /syslinux.c
parent24ae9b2f5ff68a06df423cb1ad5b7098e1c07276 (diff)
downloadsyslinux-a417328c103fb00701f4b437f5b58f1857828433.tar.gz
Bug fix to syslinux.c; documentation update
Diffstat (limited to 'syslinux.c')
-rw-r--r--syslinux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/syslinux.c b/syslinux.c
index 8874d481..4b837e70 100644
--- a/syslinux.c
+++ b/syslinux.c
@@ -287,9 +287,10 @@ int main(int argc, char *argv[])
} else if ( f == 0 ) {
if ( S_ISREG(st.st_mode) )
execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-o", "loop", "-w",
- device, mntpath);
+ device, mntpath, NULL);
else
- execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-w", device, mntpath);
+ execl(_PATH_MOUNT, _PATH_MOUNT, "-t", "msdos", "-w", device, mntpath,
+ NULL);
_exit(255); /* execl failed */
}
}