repart: make error code when operating on non-existing file a bit more useful

This commit is contained in:
Lennart Poettering
2020-08-24 22:00:10 +02:00
parent da49710ef2
commit aa2a74ad9d
+1 -1
View File
@@ -3202,7 +3202,7 @@ static int find_root(char **ret, int *ret_fd) {
r = acquire_root_devno(arg_node, O_RDONLY|O_CLOEXEC, ret, ret_fd);
if (r < 0)
return log_error_errno(r, "Failed to determine backing device of %s: %m", arg_node);
return log_error_errno(r, "Failed to open file or determine backing device of %s: %m", arg_node);
return 0;
}