Initialize sv.drm_dd_minor to "don't care" along with dd_major, to appease
valgrind.main
parent
7f2c7f9977
commit
26462b9aa4
|
@ -423,6 +423,7 @@ static int drmOpenByBusid(const char *busid)
|
|||
sv.drm_di_major = 1;
|
||||
sv.drm_di_minor = 1;
|
||||
sv.drm_dd_major = -1; /* Don't care */
|
||||
sv.drm_dd_minor = -1; /* Don't care */
|
||||
drmSetInterfaceVersion(fd, &sv);
|
||||
buf = drmGetBusid(fd);
|
||||
drmMsg("drmOpenByBusid: drmGetBusid reports %s\n", buf);
|
||||
|
|
Loading…
Reference in New Issue