diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-14 06:27:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-14 06:27:54 +0000 |
commit | 58361a44b5105e2ed5cae5eb69faa975a993bf72 (patch) | |
tree | e62ba0366df7cf7c760ae5797665344592cd62e3 | |
parent | e7413a9cde8da7a54349a0641d0b1e7cbc0e290a (diff) | |
download | busybox-w32-58361a44b5105e2ed5cae5eb69faa975a993bf72.tar.gz busybox-w32-58361a44b5105e2ed5cae5eb69faa975a993bf72.tar.bz2 busybox-w32-58361a44b5105e2ed5cae5eb69faa975a993bf72.zip |
uid and gid were unsigned, but were compared vs signed values (-1)
-Erik
-rw-r--r-- | chmod_chown_chgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chmod_chown_chgrp.c b/chmod_chown_chgrp.c index cf6a50895..156a0a9f9 100644 --- a/chmod_chown_chgrp.c +++ b/chmod_chown_chgrp.c | |||
@@ -33,8 +33,8 @@ | |||
33 | #include <pwd.h> | 33 | #include <pwd.h> |
34 | 34 | ||
35 | 35 | ||
36 | static unsigned long uid = -1; | 36 | static long uid = -1; |
37 | static unsigned long gid = -1; | 37 | static long gid = -1; |
38 | static int whichApp; | 38 | static int whichApp; |
39 | static char *theMode = NULL; | 39 | static char *theMode = NULL; |
40 | 40 | ||