aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-03-29 03:30:21 +0000
committerEric Anholt <anholt@freebsd.org>2003-03-29 03:30:21 +0000
commite27d2f8c7cacf1e9994e9030c7ebb15dc4f4efff (patch)
tree9f46cdfab6b56db31a613575e32bff2e33a8f19f
parent1728bc637df023cce7b5abfeab2796ea481ca7e9 (diff)
buf->filp is a pointer, so make printf format args be %p not %d
-rw-r--r--shared-core/r128_state.c8
-rw-r--r--shared/r128_state.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/shared-core/r128_state.c b/shared-core/r128_state.c
index 12c4a0ee..8b9e97cf 100644
--- a/shared-core/r128_state.c
+++ b/shared-core/r128_state.c
@@ -831,7 +831,7 @@ static int r128_cce_dispatch_blit( DRMFILE filp,
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1330,7 +1330,7 @@ int r128_cce_vertex( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1389,7 +1389,7 @@ int r128_cce_indices( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1531,7 +1531,7 @@ int r128_cce_indirect( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
diff --git a/shared/r128_state.c b/shared/r128_state.c
index 12c4a0ee..8b9e97cf 100644
--- a/shared/r128_state.c
+++ b/shared/r128_state.c
@@ -831,7 +831,7 @@ static int r128_cce_dispatch_blit( DRMFILE filp,
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1330,7 +1330,7 @@ int r128_cce_vertex( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1389,7 +1389,7 @@ int r128_cce_indices( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}
@@ -1531,7 +1531,7 @@ int r128_cce_indirect( DRM_IOCTL_ARGS )
buf_priv = buf->dev_private;
if ( buf->filp != filp ) {
- DRM_ERROR( "process %d using buffer owned by %d\n",
+ DRM_ERROR( "process %d using buffer owned by %p\n",
DRM_CURRENTPID, buf->filp );
return DRM_ERR(EINVAL);
}