summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-25 21:57:01 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-05-25 21:57:01 +0000
commitb5b471acbfe024ca832aa18f73f49b3fbc3f14b9 (patch)
tree4de92c0edfaa72bd4e510fd3f1762924b66778e2
parent5588f33210b9db0677764328640b9acddb9c83a0 (diff)
downloadpw-darwin-b5b471acbfe024ca832aa18f73f49b3fbc3f14b9.tar.gz
pw-darwin-b5b471acbfe024ca832aa18f73f49b3fbc3f14b9.tar.zst
pw-darwin-b5b471acbfe024ca832aa18f73f49b3fbc3f14b9.zip
Remove an uneeded indentation introduced in r286196 to silence gcc warnging
MFC after: 3 days Sponsored by: The FreeBSD Foundation
-rw-r--r--pw/pw_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c
index 148239e..cb95d45 100644
--- a/pw/pw_user.c
+++ b/pw/pw_user.c
@@ -589,7 +589,7 @@ print_user(struct passwd * pwd, bool pretty, bool v7)
}
if (pwd->pw_expire > (time_t)0 && (tptr = localtime(&pwd->pw_expire)) != NULL)
strftime(acexpire, sizeof acexpire, "%c", tptr);
- if (pwd->pw_change > (time_t)0 && (tptr = localtime(&pwd->pw_change)) != NULL)
+ if (pwd->pw_change > (time_t)0 && (tptr = localtime(&pwd->pw_change)) != NULL)
strftime(pwexpire, sizeof pwexpire, "%c", tptr);
printf("Login Name: %-15s #%-12ju Group: %-15s #%ju\n"
" Full Name: %s\n"