From 20c74f8b4a8402acfa39bc7eabbfeabb9eafc91c Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Fri, 8 Aug 2014 18:00:23 +0000 Subject: [PATCH] Quiesce a printf warning from clang, %ul -> %lu Phabric: https://phabric.freebsd.org/D472 Reviewed by: mahrens delphij --- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c b/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c index c61c5c2f5f07..1a2c2ac0fd98 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());