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
commit3722ad4a19622e3b757b0735dc355e48b5ef34dc (patch)
tree5f3bc7ff4e275d845f8e6e78ce1970cfc33e8532
parent76ab67765cfb3a27c6df12adef2e4995d201b3d2 (diff)
downloadpw-darwin-3722ad4a19622e3b757b0735dc355e48b5ef34dc.tar.gz
pw-darwin-3722ad4a19622e3b757b0735dc355e48b5ef34dc.tar.zst
pw-darwin-3722ad4a19622e3b757b0735dc355e48b5ef34dc.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"