diff options
-rw-r--r-- | coreutils/dos2unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 1911f5319..e06ecc4e0 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -92,7 +92,7 @@ int dos2unix_main(int argc UNUSED_PARAM, char **argv) | |||
92 | do { | 92 | do { |
93 | /* might be convert(NULL) if there is no filename given */ | 93 | /* might be convert(NULL) if there is no filename given */ |
94 | convert(*argv, conv_type); | 94 | convert(*argv, conv_type); |
95 | } while (*++argv); | 95 | } while (*argv && *++argv); |
96 | 96 | ||
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |