Date: Sun, 7 Jun 2015 19:39:06 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284130 - head/usr.sbin/pw Message-ID: <201506071939.t57Jd6FT055602@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506071939.t57Jd6FT055602>