summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2002-09-29 22:47:08 +0000
committerEric Anholt <anholt@freebsd.org>2002-09-29 22:47:08 +0000
commitefda4ce3539c9adf5fc798bb5e0ba5e8ce804afb (patch)
treeccd236d66b188ce5c5a9db4f1f83c95b1e1b4c5c /bsd-core
parent33a51d8518c37833a83225b47ad0b435050edeae (diff)
warnings cleanup
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drm_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c
index 4e007445..2ec7ff95 100644
--- a/bsd-core/drm_sysctl.c
+++ b/bsd-core/drm_sysctl.c
@@ -191,8 +191,8 @@ static int DRM(_queues_info)DRM_SYSCTL_HANDLER_ARGS
q = dev->queuelist[i];
atomic_inc(&q->use_count);
DRM_SYSCTL_PRINT_RET(atomic_dec(&q->use_count),
- "%5d/0x%03x %5ld %5ld"
- " %5ld/%c%c/%c%c%c %5d %10ld %10ld %10ld\n",
+ "%5d/0x%03x %5d %5d"
+ " %5d/%c%c/%c%c%c %5d %10d %10d %10d\n",
i,
q->flags,
atomic_read(&q->use_count),
@@ -240,7 +240,7 @@ static int DRM(_bufs_info) DRM_SYSCTL_HANDLER_ARGS
DRM_SYSCTL_PRINT(" o size count free segs pages kB\n\n");
for (i = 0; i <= DRM_MAX_ORDER; i++) {
if (dma->bufs[i].buf_count)
- DRM_SYSCTL_PRINT("%2d %8d %5d %5ld %5d %5d %5d\n",
+ DRM_SYSCTL_PRINT("%2d %8d %5d %5d %5d %5d %5d\n",
i,
dma->bufs[i].buf_size,
dma->bufs[i].buf_count,