mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
bless-boot: pass the right error variable
This commit is contained in:
parent
47eab95ea8
commit
bad6cb5ae8
|
@ -469,7 +469,7 @@ static int verb_set(int argc, char *argv[], void *userdata) {
|
|||
/* First, fsync() the directory these files are located in */
|
||||
r = fsync_parent_at(fd, skip_leading_slash(target));
|
||||
if (r < 0)
|
||||
log_debug_errno(errno, "Failed to synchronize image directory, ignoring: %m");
|
||||
log_debug_errno(r, "Failed to synchronize image directory, ignoring: %m");
|
||||
|
||||
/* Secondly, syncfs() the whole file system these files are located in */
|
||||
if (syncfs(fd) < 0)
|
||||
|
|
Loading…
Reference in a new issue