aboutsummaryrefslogtreecommitdiffstats
path: root/dos
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-01-23 23:07:38 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-01-23 23:07:38 -0800
commita603406936e7277ff9847a4ed697122761d53cf5 (patch)
treef7ca153e6ca860d16112e16f61d7e10d47df8c39 /dos
parenta16a528b416d46cbdec4cb97aded26373500e986 (diff)
downloadsyslinux.git-a603406936e7277ff9847a4ed697122761d53cf5.tar.gz
syslinux.git-a603406936e7277ff9847a4ed697122761d53cf5.tar.xz
syslinux.git-a603406936e7277ff9847a4ed697122761d53cf5.zip
DOS FAT installer: Correct parsing of -d option
Diffstat (limited to 'dos')
-rw-r--r--dos/syslinux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dos/syslinux.c b/dos/syslinux.c
index e4066ca5..77742120 100644
--- a/dos/syslinux.c
+++ b/dos/syslinux.c
@@ -519,8 +519,8 @@ int main(int argc, char *argv[])
set_active = 1;
break;
case 'd':
- if ( opt[1] )
- subdir = ++opt;
+ if ( argp[1] )
+ subdir = *++argp;
break;
default:
usage();