summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-06-07 19:39:06 +0000
committerbapt <bapt@FreeBSD.org>2015-06-07 19:39:06 +0000
commitc6688979243ff91c6c4816ff12594baba6c5c1ac (patch)
tree0471f08e2a11b7b3a31d405b736aaf7aff61735e /usr.sbin
parent4a60f5b2aa32e78ca47b6bda0c8df390f7116df0 (diff)
downloadFreeBSD-src-c6688979243ff91c6c4816ff12594baba6c5c1ac.zip
FreeBSD-src-c6688979243ff91c6c4816ff12594baba6c5c1ac.tar.gz
Remove uneeded code (already done by pw_make_v7)
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pw/pw_user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/pw/pw_user.c b/usr.sbin/pw/pw_user.c
index 6b3a266..99d8129 100644
--- a/usr.sbin/pw/pw_user.c
+++ b/usr.sbin/pw/pw_user.c
@@ -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);
OpenPOWER on IntegriCloud