svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw

Dimitry Andric dim at FreeBSD.org
Sat Apr 25 22:23:36 UTC 2020


Author: dim
Date: Sat Apr 25 22:23:34 2020
New Revision: 360326
URL: https://svnweb.freebsd.org/changeset/base/360326

Log:
  MFC r348282 (by lwhsu):
  
  Remove an uneeded indentation introduced in r286196 to silence gcc warnging
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/usr.sbin/pw/pw_user.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/usr.sbin/pw/pw_user.c
  stable/12/usr.sbin/pw/pw_user.c
Directory Properties:
  stable/10/   (props changed)
  stable/12/   (props changed)

Modified: stable/11/usr.sbin/pw/pw_user.c
==============================================================================
--- stable/11/usr.sbin/pw/pw_user.c	Sat Apr 25 21:45:31 2020	(r360325)
+++ stable/11/usr.sbin/pw/pw_user.c	Sat Apr 25 22:23:34 2020	(r360326)
@@ -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-all mailing list