diff options
| author | hpa <hpa> | 1998-02-20 22:35:47 +0000 |
|---|---|---|
| committer | hpa <hpa> | 1998-02-20 22:35:47 +0000 |
| commit | a417328c103fb00701f4b437f5b58f1857828433 (patch) | |
| tree | 6f9a6c7c6388cb19abdb0bb3cead899069e9332a /syslinux.c | |
| parent | 24ae9b2f5ff68a06df423cb1ad5b7098e1c07276 (diff) | |
| download | syslinux-a417328c103fb00701f4b437f5b58f1857828433.tar.gz | |
Bug fix to syslinux.c; documentation update
Diffstat (limited to 'syslinux.c')
| -rw-r--r-- | syslinux.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 */ } } |
