diff options
author | Karel Zak | 2006-12-07 00:25:53 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:53 +0100 |
commit | ffc4374869b9ac10539a3c18e13b29d1b0c64484 (patch) | |
tree | 1b8054e83f7f70e8fa77499fc9246d1cc16faa15 /text-utils/column.c | |
parent | Imported from util-linux-2.11n tarball. (diff) | |
download | kernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.tar.gz kernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.tar.xz kernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.zip |
Imported from util-linux-2.11o tarball.
Diffstat (limited to 'text-utils/column.c')
-rw-r--r-- | text-utils/column.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/text-utils/column.c b/text-utils/column.c index 3a54fe054..22b4c120d 100644 --- a/text-utils/column.c +++ b/text-utils/column.c @@ -88,8 +88,6 @@ main(int argc, char **argv) char *p; #ifdef __linux__ - extern int optind; - extern char *optarg; extern char *__progname; __progname = argv[0]; #endif @@ -104,7 +102,7 @@ main(int argc, char **argv) termwidth = win.ws_col; tflag = xflag = 0; - while ((ch = getopt(argc, argv, "c:s:tx")) != EOF) + while ((ch = getopt(argc, argv, "c:s:tx")) != -1) switch(ch) { case 'c': termwidth = atoi(optarg); |