summaryrefslogtreecommitdiff
path: root/libbb/obscure.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-27 16:49:55 +0000
committerDenis Vlasenko2006-11-27 16:49:55 +0000
commitd9e15f206840219bb0f39c912a42fdcf8cbcaed6 (patch)
treeffdef7f5ab4a33038d0a62c9355b48f362aa463e /libbb/obscure.c
parent079f8afa0a16112cbaf7012c82b38b7358b82141 (diff)
downloadbusybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.zip
busybox-d9e15f206840219bb0f39c912a42fdcf8cbcaed6.tar.gz
style cleanup: return(a) -> return a, part 2
Diffstat (limited to 'libbb/obscure.c')
-rw-r--r--libbb/obscure.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/obscure.c b/libbb/obscure.c
index 56aacc9..7d839d6 100644
--- a/libbb/obscure.c
+++ b/libbb/obscure.c
@@ -164,7 +164,7 @@ int obscure(const char *old, const char *newval, const struct passwd *pwdp)
if ((msg = obscure_msg(old, newval, pwdp))) {
printf("Bad password: %s.\n", msg);
/* If user is root warn only */
- return (getuid())? 1 : 0;
+ return getuid() ? 1 : 0;
}
return 0;
}