diff options
author | Thierry Reding <treding@nvidia.com> | 2014-04-08 22:33:04 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2014-04-17 16:21:46 +0200 |
commit | 303ff26311dc5efdf28676be34d86f501699acf3 (patch) | |
tree | cc5bc6d32a81b92db799f631b20815e1ca7c323a /xf86drm.c | |
parent | 3d7a51e43ef93df967fd387cf58dfa370dfb2317 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |