diff options
author | sbruno <sbruno@FreeBSD.org> | 2014-08-08 18:00:23 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2014-08-08 18:00:23 +0000 |
commit | fc46ec7e361751a16ece4de656d289c08e1d27a5 (patch) | |
tree | b118bb62a7af7ca559dc07551bf5cffc9c2beccb /cddl/contrib/opensolaris/lib | |
parent | 9dd857db3dc558dc61dc8674d204ebc83cac0739 (diff) | |
download | FreeBSD-src-fc46ec7e361751a16ece4de656d289c08e1d27a5.zip FreeBSD-src-fc46ec7e361751a16ece4de656d289c08e1d27a5.tar.gz |
Quiesce a printf warning from clang, %ul -> %lu
Phabric: https://phabric.freebsd.org/D472
Reviewed by: mahrens delphij
Diffstat (limited to 'cddl/contrib/opensolaris/lib')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzpool/common/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c b/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c index c61c5c2..1a2c2ac 100644 --- a/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c +++ b/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c @@ -687,7 +687,7 @@ __dprintf(const char *file, const char *func, int line, const char *fmt, ...) if (dprintf_find_string("pid")) (void) printf("%d ", getpid()); if (dprintf_find_string("tid")) - (void) printf("%ul ", thr_self()); + (void) printf("%lu ", thr_self()); #if 0 if (dprintf_find_string("cpu")) (void) printf("%u ", getcpuid()); |