Missing return.
authorPierre Habouzit <madcoder@debian.org>
Wed, 15 Aug 2007 12:04:32 +0000 (14:04 +0200)
committerPierre Habouzit <madcoder@debian.org>
Wed, 15 Aug 2007 12:04:32 +0000 (14:04 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-mx/mx.c

index 98bd9fa..5d735c6 100644 (file)
@@ -67,7 +67,7 @@ static int undotlock_file (const char *path)
 {
     char lockfile[PATH_MAX];
     snprintf(lockfile, sizeof(lockfile), "%s.lock", path);
-    lockfile_remove(lockfile);
+    return lockfile_remove(lockfile);
 }
 
 /* looks up index of type for path in mxfmts */