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-w32-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.tar.gz
busybox-w32-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.tar.bz2
busybox-w32-379ac89c30b96ec335bc0c16b8ecdd14a1b807ac.zip
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)
239{ 239{
240 FILE *fp,*outfile=NULL; 240 FILE *fp,*outfile=NULL;
241 int linecount=0,i,flag; 241 int linecount=0,i,flag;
242 char *line,**lines=NULL,c,*optlist="ngMucszbrdfimS:T:o:k:t:"; 242 char *line,**lines=NULL,*optlist="ngMucszbrdfimS:T:o:k:t:";
243 int c;
243 244
244 bb_default_error_retval = 2; 245 bb_default_error_retval = 2;
245 /* Parse command line options */ 246 /* Parse command line options */