chiark / gitweb /
fix sparse warnings
[elogind.git] / src / mount.c
index 0ae964b648a9e56973cdda007708301ff39f2bc4..f80fcf5f4ab29c16052e0df8940fa41206e05210 100644 (file)
@@ -271,7 +271,7 @@ static char* mount_test_option(const char *haystack, const char *needle) {
          * struct mntent */
 
         if (!haystack)
-                return false;
+                return NULL;
 
         zero(me);
         me.mnt_opts = (char*) haystack;