diff options
Diffstat (limited to 'coreutils/dos2unix.c')
-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 1c8b4af1b..98eaec172 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c | |||
@@ -94,7 +94,7 @@ int dos2unix_main(int argc UNUSED_PARAM, char **argv) | |||
94 | do { | 94 | do { |
95 | /* might be convert(NULL) if there is no filename given */ | 95 | /* might be convert(NULL) if there is no filename given */ |
96 | convert(*argv, conv_type); | 96 | convert(*argv, conv_type); |
97 | } while (*++argv); | 97 | } while (*argv && *++argv); |
98 | 98 | ||
99 | return 0; | 99 | return 0; |
100 | } | 100 | } |