Author: dim Date: Sun Jan 1 23:33:08 2012 New Revision: 229237 URL: http://svn.freebsd.org/changeset/base/229237
Log: MFC r228673: In usr.sbin/pw/pw_user.c, use the correct printf length modifier for a ptrdiff_t. Modified: stable/9/usr.sbin/pw/pw_user.c Directory Properties: stable/9/usr.sbin/pw/ (props changed) Modified: stable/9/usr.sbin/pw/pw_user.c ============================================================================== --- stable/9/usr.sbin/pw/pw_user.c Sun Jan 1 23:26:49 2012 (r229236) +++ stable/9/usr.sbin/pw/pw_user.c Sun Jan 1 23:33:08 2012 (r229237) @@ -1208,7 +1208,7 @@ pw_checkname(u_char *name, int gecos) if (reject) { snprintf(showch, sizeof(showch), (*ch >= ' ' && *ch < 127) ? "`%c'" : "0x%02x", *ch); - errx(EX_DATAERR, "invalid character %s at position %d in %s", + errx(EX_DATAERR, "invalid character %s at position %td in %s", showch, (ch - name), showtype); } if (!gecos && (ch - name) > LOGNAMESIZE) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"