chiark / gitweb /
treewide: no need to negate errno for log_*_errno()
[elogind.git] / src / delta / delta.c
index 2a1ad3d951f55517291c21da7faaa79a30d92ca8..1dc81175b5671d1682184a4bfeca39cecfab8edb 100644 (file)
@@ -227,7 +227,7 @@ static int enumerate_dir_d(Hashmap *top, Hashmap *bottom, Hashmap *drops, const
 
         r = get_files_in_directory(path, &list);
         if (r < 0){
 
         r = get_files_in_directory(path, &list);
         if (r < 0){
-                log_error_errno(-r, "Failed to enumerate %s: %m", path);
+                log_error_errno(r, "Failed to enumerate %s: %m", path);
                 return r;
         }
 
                 return r;
         }