(cherry picked from commit 052b127842
)
tags/mesa_7_6_1_rc3
@@ -85,11 +85,11 @@ drm_get_device_id(struct drm_device *device) | |||
} | |||
ret = fgets(path, sizeof( path ), file); | |||
fclose(file); | |||
if (!ret) | |||
return; | |||
sscanf(path, "%x", &device->deviceID); | |||
fclose(file); | |||
} | |||
static void |