summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_stats.c
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2015-05-24 15:47:15 +0000
committerdchagin <dchagin@FreeBSD.org>2015-05-24 15:47:15 +0000
commitc714299c499d8af430581ce7ab2eff4efe8acac7 (patch)
treebcc4908c2bd358a1d5748128c669944eb08499b8 /sys/compat/linux/linux_stats.c
parent4d24fd0e49c93c780e90bef519ae6f06c76259f6 (diff)
downloadFreeBSD-src-c714299c499d8af430581ce7ab2eff4efe8acac7.zip
FreeBSD-src-c714299c499d8af430581ce7ab2eff4efe8acac7.tar.gz
Fix compilation with -DDEBUG option.
Differential Revision: https://reviews.freebsd.org/D1070 Reviewed by: trasz
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
-rw-r--r--sys/compat/linux/linux_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c
index ff7d454..8f2144c 100644
--- a/sys/compat/linux/linux_stats.c
+++ b/sys/compat/linux/linux_stats.c
@@ -496,7 +496,7 @@ linux_ustat(struct thread *td, struct linux_ustat_args *args)
{
#ifdef DEBUG
if (ldebug(ustat))
- printf(ARGS(ustat, "%d, *"), args->dev);
+ printf(ARGS(ustat, "%ju, *"), (uintmax_t)args->dev);
#endif
return (EOPNOTSUPP);
OpenPOWER on IntegriCloud