svn commit: r284130 - head/usr.sbin/pw
Baptiste Daroussin
bapt at FreeBSD.org
Sun Jun 7 19:39:06 UTC 2015
Author: bapt
Date: Sun Jun 7 19:39:06 2015
New Revision: 284130
URL: https://svnweb.freebsd.org/changeset/base/284130
Log:
Remove uneeded code (already done by pw_make_v7)
Modified:
head/usr.sbin/pw/pw_user.c
Modified: head/usr.sbin/pw/pw_user.c
==============================================================================
--- head/usr.sbin/pw/pw_user.c Sun Jun 7 19:33:25 2015 (r284129)
+++ head/usr.sbin/pw/pw_user.c Sun Jun 7 19:39:06 2015 (r284130)
@@ -1143,9 +1143,6 @@ print_user(struct passwd * pwd)
if (!conf.pretty) {
char *buf;
- if (!conf.v7)
- pwd->pw_passwd = (pwd->pw_passwd == NULL) ? "" : "*";
-
buf = conf.v7 ? pw_make_v7(pwd) : pw_make(pwd);
printf("%s\n", buf);
free(buf);
More information about the svn-src-all
mailing list