aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dos2unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/dos2unix.c')
-rw-r--r--coreutils/dos2unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c
index c28e6a8b9..a21ed5bc3 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -50,7 +50,7 @@ typedef unsigned long int bb_uint64_t;
50static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; 50static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
51 51
52// if fn is NULL then input is stdin and output is stdout 52// if fn is NULL then input is stdin and output is stdout
53static int convert(char *fn, int ConvType) 53static int convert(char *fn, int ConvType)
54{ 54{
55 int c, fd; 55 int c, fd;
56 struct timeval tv; 56 struct timeval tv;
@@ -156,12 +156,12 @@ static int convert(char *fn, int ConvType)
156 return 0; 156 return 0;
157} 157}
158 158
159int dos2unix_main(int argc, char *argv[]) 159int dos2unix_main(int argc, char *argv[])
160{ 160{
161 int ConvType = CT_AUTO; 161 int ConvType = CT_AUTO;
162 int o; 162 int o;
163 163
164 //See if we are supposed to be doing dos2unix or unix2dos 164 //See if we are supposed to be doing dos2unix or unix2dos
165 if (argv[0][0]=='d') { 165 if (argv[0][0]=='d') {
166 ConvType = CT_DOS2UNIX; 166 ConvType = CT_DOS2UNIX;
167 } 167 }