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>main
parent
3d7a51e43e
commit
303ff26311
|
@ -503,7 +503,7 @@ static int drmOpenByBusid(const char *busid)
|
||||||
sv.drm_di_minor = 1;
|
sv.drm_di_minor = 1;
|
||||||
sv.drm_dd_major = -1; /* Don't care */
|
sv.drm_dd_major = -1; /* Don't care */
|
||||||
sv.drm_dd_minor = -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);
|
drmSetInterfaceVersion(fd, &sv);
|
||||||
}
|
}
|
||||||
buf = drmGetBusid(fd);
|
buf = drmGetBusid(fd);
|
||||||
|
|
Loading…
Reference in New Issue