diff options
| author | Xin LI <delphij@FreeBSD.org> | 2012-01-23 19:46:36 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2012-01-23 19:46:36 +0000 |
| commit | 7c00ce99fd28d2f4e48085da6ba1d3946f80012d (patch) | |
| tree | 540853917536befedbdaa788e4546d7161d0ccc4 /pw/pw_user.c | |
| parent | 8cf781d21c1d73509b653b0e695843ffc3f4c4d9 (diff) | |
| parent | 49d0a00f838f7ec6e5ea918878a87a152dc52d71 (diff) | |
| download | pw-darwin-7c00ce99fd28d2f4e48085da6ba1d3946f80012d.tar.gz pw-darwin-7c00ce99fd28d2f4e48085da6ba1d3946f80012d.zip | |
IFC @230489 (pending review).
Diffstat (limited to 'pw/pw_user.c')
| -rw-r--r-- | pw/pw_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c index db33746..0001a41 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -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) |
