diff options
author | ache <ache@FreeBSD.org> | 2010-03-06 22:38:38 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2010-03-06 22:38:38 +0000 |
commit | f28c83324f87203230dd2cf3f927fb349e7149ce (patch) | |
tree | 7c0a81b64581fec702ee977c8b7cccc7b7d6e53c /usr.bin/uniq/uniq.c | |
parent | c25f1494fdd876f948b42fbb51640e9ac60c19af (diff) | |
download | FreeBSD-src-f28c83324f87203230dd2cf3f927fb349e7149ce.zip FreeBSD-src-f28c83324f87203230dd2cf3f927fb349e7149ce.tar.gz |
Remove vestiges of old %-format which prevents build on amd64
Diffstat (limited to 'usr.bin/uniq/uniq.c')
-rw-r--r-- | usr.bin/uniq/uniq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 89149dcdf..5c6d10c 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -195,7 +195,7 @@ getlinemax(char *buf, FILE *fp) while ((ch = getc(fp)) != EOF && ch != '\n') { buf[bufpos++] = ch; if (bufpos >= LINE_MAX) - errx(1, "Maximum line length (%zu) exceeded", + errx(1, "Maximum line length (%d) exceeded", LINE_MAX); } buf[bufpos] = '\0'; @@ -210,7 +210,7 @@ convert(wchar_t *buf, const char *str) wchar_t *p, *ret; if ((n = mbstowcs(buf, str, LINE_MAX)) == LINE_MAX) - errx(1, "Maximum line length (%zu) exceeded", LINE_MAX); + errx(1, "Maximum line length (%d) exceeded", LINE_MAX); else if (n != (size_t)-1) { /* If requested get the chosen fields + character offsets. */ if (numfields || numchars) |