freebsd-dev/usr.sbin/dconschat
Dimitry Andric 0aa9d419aa 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
2012-03-19 19:17:55 +00:00
..
dconschat.8 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
dconschat.c Fix the following warning from clang trunk: 2012-03-19 19:17:55 +00:00
Makefile The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00