aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-07-17 22:43:42 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-07-17 22:43:42 +0200
commitd1516c4d628dbded9e1abefaacc1535aaecef418 (patch)
tree541ff7fd2e2d7396151851465ab7f0b9e211501a /coreutils
parent6adf2aad38cf2f5a056f9014955807607bcb41b2 (diff)
downloadbusybox-w32-d1516c4d628dbded9e1abefaacc1535aaecef418.tar.gz
busybox-w32-d1516c4d628dbded9e1abefaacc1535aaecef418.tar.bz2
busybox-w32-d1516c4d628dbded9e1abefaacc1535aaecef418.zip
dos2unix: fix the case w/o parameters
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dos2unix.c2
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}