projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/fs: Pass key->render_to_fbo via src1 of FS_OPCODE_DDY_*.
[mesa.git]
/
src
/
loader
/
loader.c
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index bdd39069149c950cdcd7e8fd8ba89ce6fa150463..94c993ac8415c1449f873ecab17d94bd3cf66da2 100644
(file)
--- a/
src/loader/loader.c
+++ b/
src/loader/loader.c
@@
-594,6
+594,9
@@
libudev_get_device_name_for_fd(int fd)
(struct udev_device *));
UDEV_SYMBOL(struct udev *, udev_unref, (struct udev *));
+ if (dlsym_failed)
+ return NULL;
+
udev = udev_new();
device = udev_device_new_from_fd(udev, fd);
if (device == NULL)