svn commit: r348282 - head/usr.sbin/pw
Li-Wen Hsu
lwhsu at FreeBSD.org
Sat May 25 21:57:03 UTC 2019
Author: lwhsu
Date: Sat May 25 21:57:01 2019
New Revision: 348282
URL: https://svnweb.freebsd.org/changeset/base/348282
Log:
Remove an uneeded indentation introduced in r286196 to silence gcc warnging
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.sbin/pw/pw_user.c
Modified: head/usr.sbin/pw/pw_user.c
==============================================================================
--- head/usr.sbin/pw/pw_user.c Sat May 25 21:40:27 2019 (r348281)
+++ head/usr.sbin/pw/pw_user.c Sat May 25 21:57:01 2019 (r348282)
@@ -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"
More information about the svn-src-head
mailing list