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 /sys-utils/ipcs.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 'sys-utils/ipcs.c')
-rw-r--r-- | sys-utils/ipcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c index 0673be564..01cc49488 100644 --- a/sys-utils/ipcs.c +++ b/sys-utils/ipcs.c @@ -149,7 +149,7 @@ main (int argc, char **argv) { textdomain(PACKAGE); progname = argv[0]; - while ((opt = getopt (argc, argv, options)) != EOF) { + while ((opt = getopt (argc, argv, options)) != -1) { switch (opt) { case 'i': id = atoi (optarg); |