summaryrefslogtreecommitdiff
path: root/xf86drm.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-08 22:33:04 +0200
committerThierry Reding <treding@nvidia.com>2014-04-17 16:21:46 +0200
commit303ff26311dc5efdf28676be34d86f501699acf3 (patch)
treecc5bc6d32a81b92db799f631b20815e1ca7c323a /xf86drm.c
parent3d7a51e43ef93df967fd387cf58dfa370dfb2317 (diff)
libdrm: Remove extraneous parameter
The debug message's format string doesn't contain any conversion specifiers, therefore making the fd argument unused. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'xf86drm.c')
-rw-r--r--xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drm.c b/xf86drm.c
index fa5701ab..e94f2cd0 100644
--- a/xf86drm.c
+++ b/xf86drm.c
@@ -503,7 +503,7 @@ static int drmOpenByBusid(const char *busid)
sv.drm_di_minor = 1;
sv.drm_dd_major = -1; /* Don't care */
sv.drm_dd_minor = -1; /* Don't care */
- drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n",fd);
+ drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n");
drmSetInterfaceVersion(fd, &sv);
}
buf = drmGetBusid(fd);