projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63546b8
)
dri: Add a useful error message if someone's packages missed libudev deps.
author
Eric Anholt
<eric@anholt.net>
Thu, 30 Jan 2014 18:44:58 +0000
(10:44 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 1 Feb 2014 18:09:11 +0000
(10:09 -0800)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/loader/loader.c
patch
|
blob
|
history
diff --git
a/src/loader/loader.c
b/src/loader/loader.c
index 5d2589943088fa1baed88cda97a5114898bd4241..811f8a25713e5ade25b0509bd70b470b7f7f5826 100644
(file)
--- a/
src/loader/loader.c
+++ b/
src/loader/loader.c
@@
-111,6
+111,11
@@
udev_dlopen_handle(void)
* might be ia64.
*/
udev_handle = dlopen("libudev.so.0", RTLD_LOCAL | RTLD_LAZY);
+
+ if (!udev_handle) {
+ log_(_LOADER_FATAL, "Couldn't dlopen libudev.so.1 or libudev.so.0, "
+ "driver detection may be broken.\n");
+ }
}
}