diff options
author | hpa <hpa> | 2004-12-22 02:21:15 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-22 02:21:15 +0000 |
commit | 29cfb114e2fd9a748ba92df04c6c958088ab49a1 (patch) | |
tree | ad4ec90222e6bb6e6bde47fc6f99cd7fe8ae6fd5 /win32 | |
parent | 631a8351b88ce61ea49fd67bd7a797be56b7364a (diff) | |
download | syslinux-29cfb114e2fd9a748ba92df04c6c958088ab49a1.tar.gz |
Be more picky about syntax.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/syslinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/syslinux.c b/win32/syslinux.c index 37b2ff88..53fb3621 100644 --- a/win32/syslinux.c +++ b/win32/syslinux.c @@ -149,7 +149,7 @@ int main(int argc, char *argv[]) } } - if ( !drive ) + if ( !drive || !isalpha(drive[0]) || drive[1] != ':' || drive[2] ) usage(); /* Test if drive exists */ |