]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Remove an uneeded indentation introduced in r286196 to silence gcc warnging
authorLi-Wen Hsu <lwhsu@FreeBSD.org>
Sat, 25 May 2019 21:57:01 +0000 (21:57 +0000)
committerLi-Wen Hsu <lwhsu@FreeBSD.org>
Sat, 25 May 2019 21:57:01 +0000 (21:57 +0000)
MFC after: 3 days
Sponsored by: The FreeBSD Foundation

pw/pw_user.c

index 148239ebd2b5f8a9e48af738b6bf34125cf60482..cb95d45068658035196a8b03b8fec91d93a02bfe 100644 (file)
@@ -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"