diff options
author | Paul Fox | 2005-07-20 19:07:27 +0000 |
---|---|---|
committer | Paul Fox | 2005-07-20 19:07:27 +0000 |
commit | 379ac89c30b96ec335bc0c16b8ecdd14a1b807ac (patch) | |
tree | 90c7d69bc7ef568d4dcc480a9e3f74d1329ff382 /coreutils | |
parent | 5dc0ceeb9ef753722de9e47d6e6284897d69b664 (diff) | |
download | busybox-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.zip busybox-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.tar.gz |
applying patch from:
0000227: sort use wrong type for getopt return variable
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/sort.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index 73505e3..6d8a552 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -239,7 +239,8 @@ int sort_main(int argc, char **argv) { FILE *fp,*outfile=NULL; int linecount=0,i,flag; - char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:"; + char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:"; + int c; bb_default_error_retval = 2; /* Parse command line options */ |