aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-07-20 19:07:27 +0000
committerPaul Fox <pgf@brightstareng.com>2005-07-20 19:07:27 +0000
commit379ac89c30b96ec335bc0c16b8ecdd14a1b807ac (patch)
tree90c7d69bc7ef568d4dcc480a9e3f74d1329ff382
parent5dc0ceeb9ef753722de9e47d6e6284897d69b664 (diff)
downloadbusybox-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.tar.gz
applying patch from:
0000227: sort use wrong type for getopt return variable
-rw-r--r--coreutils/sort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c
index 73505e365..6d8a55245 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 */