Date: Mon, 3 Aug 2015 06:06:57 +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: r286218 - head/usr.sbin/pw Message-ID: <201508030606.t7366vBn040599@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Aug 3 06:06:56 2015 New Revision: 286218 URL: https://svnweb.freebsd.org/changeset/base/286218 Log: Fix bugs spotted by gcc Reported by: adrian Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ============================================================================== --- head/usr.sbin/pw/pw_user.c Mon Aug 3 05:59:30 2015 (r286217) +++ head/usr.sbin/pw/pw_user.c Mon Aug 3 06:06:56 2015 (r286218) @@ -700,7 +700,7 @@ pw_user_show(int argc, char **argv, char { struct passwd *pwd = NULL; char *name = NULL; - uid_t id = -1; + intmax_t id = -1; int ch; bool all = false; bool pretty = false; @@ -786,7 +786,7 @@ pw_user_del(int argc, char **argv, char char home[MAXPATHLEN]; const char *cfg = NULL; struct stat st; - uid_t id; + intmax_t id = -1; int ch, rc; bool nis = false; bool deletehome = false; @@ -1423,8 +1423,9 @@ pw_user_mod(int argc, char **argv, char int ch, fd = -1; size_t i, j; bool quiet, createhome, pretty, dryrun, nis, edited, docreatehome; + bool precrypted; mode_t homemode = 0; - time_t expire_days, password_days, now, precrypted; + time_t expire_days, password_days, now; expire_days = password_days = -1; gecos = homedir = grname = name = newname = skel = shell =NULL;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508030606.t7366vBn040599>