diff options
author | James Peach <jpeach@samba.org> | 2005-08-30 06:41:32 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:26 -0500 |
commit | 623d2e69319ffead31a780a4d6156dae45f386d7 (patch) | |
tree | 0db4d79aed8c914bc89e884aa124ba826da9163d /source/utils | |
parent | 9fc539088eda7f9b5d212b7df50594bec51e16f5 (diff) | |
download | samba-623d2e69319ffead31a780a4d6156dae45f386d7.tar.gz samba-623d2e69319ffead31a780a4d6156dae45f386d7.tar.xz samba-623d2e69319ffead31a780a4d6156dae45f386d7.zip |
r9780: Clean up a bunch of compiler warnings.
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/profiles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c index 52970bdffca..6bf9e44a14a 100644 --- a/source/utils/profiles.c +++ b/source/utils/profiles.c @@ -188,7 +188,7 @@ int main( int argc, char *argv[] ) exit(1); } - if ((!change & new_val) || (change & !new_val)) { + if ((!change && new_val) || (change && !new_val)) { fprintf(stderr, "You must specify both -c and -n if one or the other is set!\n"); poptPrintUsage(pc, stderr, 0); exit(252); @@ -225,5 +225,5 @@ int main( int argc, char *argv[] ) poptFreeContext(pc); - exit( 0 ); + return( 0 ); } |