summaryrefslogtreecommitdiff
path: root/misc-utils/namei.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:53 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:53 +0100
commitffc4374869b9ac10539a3c18e13b29d1b0c64484 (patch)
tree1b8054e83f7f70e8fa77499fc9246d1cc16faa15 /misc-utils/namei.c
parent612721dba838fe37af543421278416bb7acf770c (diff)
downloadutil-linux-old-ffc4374869b9ac10539a3c18e13b29d1b0c64484.tar.gz
Imported from util-linux-2.11o tarball.
Diffstat (limited to 'misc-utils/namei.c')
-rw-r--r--misc-utils/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/namei.c b/misc-utils/namei.c
index 60ec98a9..ffdb7359 100644
--- a/misc-utils/namei.c
+++ b/misc-utils/namei.c
@@ -81,7 +81,7 @@ main(int argc, char **argv) {
if(argc < 2)
usage();
- while((c = getopt(argc, argv, "mx")) != EOF){
+ while((c = getopt(argc, argv, "mx")) != -1){
switch(c){
case 'm':
mflag = !mflag;