  
  	if (dirname != NULL)
  		return path_make_absolute_cwd(dirname);
-@@ -208,7 +208,10 @@
+@@ -209,7 +209,10 @@
  	if (uname(&u) < 0)
  		return NULL;
  

 		return NULL;
 
 	return p;

diff -ru -x '*~' kmod-17-orig/libkmod/libkmod.c kmod-17/libkmod/libkmod.c
--- kmod-17-orig/libkmod/libkmod.c	2014-04-01 12:40:37.161940089 +0200
+++ kmod-17/libkmod/libkmod.c	2014-04-17 13:47:15.871441987 +0200
@@ -201,7 +201,7 @@
 static char *get_kernel_release(const char *dirname)
 {
 	struct utsname u;
