summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_resource.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index bc7c9a0..b16701c 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -1045,9 +1045,8 @@ uifree(uip)
LIST_REMOVE(uip, ui_hash);
mtx_unlock(&uihashtbl_mtx);
if (uip->ui_sbsize != 0)
- /* XXX no %qd in kernel. Truncate. */
- printf("freeing uidinfo: uid = %d, sbsize = %ld\n",
- uip->ui_uid, (long)uip->ui_sbsize);
+ printf("freeing uidinfo: uid = %d, sbsize = %jd\n",
+ uip->ui_uid, (intmax_t)uip->ui_sbsize);
if (uip->ui_proccnt != 0)
printf("freeing uidinfo: uid = %d, proccnt = %ld\n",
uip->ui_uid, uip->ui_proccnt);
OpenPOWER on IntegriCloud