Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2020 22:23:35 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360326 - in stable: 10/usr.sbin/pw 11/usr.sbin/pw 12/usr.sbin/pw
Message-ID:  <202004252223.03PMNZsB023587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/12/usr.sbin/pw/pw_user.c
Directory Properties:
  stable/12/   (props changed)

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

Modified: stable/12/usr.sbin/pw/pw_user.c
==============================================================================
--- stable/12/usr.sbin/pw/pw_user.c	Sat Apr 25 21:45:31 2020	(r360325)
+++ stable/12/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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004252223.03PMNZsB023587>