summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsrevoke
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-03-19 19:17:55 +0000
committerdim <dim@FreeBSD.org>2012-03-19 19:17:55 +0000
commit1dc73f99dc2981dabe58eda632dd8d35fe19fe3d (patch)
treeeceec81494227c45f49300b8a6558cfe82f36e89 /usr.sbin/nfsrevoke
parent102d1a0777d19806a0c5ed74e38d9867e45ff320 (diff)
downloadFreeBSD-src-1dc73f99dc2981dabe58eda632dd8d35fe19fe3d.zip
FreeBSD-src-1dc73f99dc2981dabe58eda632dd8d35fe19fe3d.tar.gz
Fix the following warning from clang trunk:
usr.sbin/dconschat/dconschat.c:163:65: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'off_t' (aka 'long long') [-Werror,-Wformat] snprintf(buf, PAGE_SIZE, "\r\n[dconschat reset target(addr=0x%zx)...]\r\n", dc->reset); ~~^ ~~~~~~~~~ %llx Silence this by casting dc->reset to intmax_t, and using the appropriate length modifier. While here, wrap the line to a 80 character margin. MFC after: 3 days
Diffstat (limited to 'usr.sbin/nfsrevoke')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud