mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
cryptsetup-generator: state file name in error messages
This commit is contained in:
parent
74576bea7a
commit
1cda32b8a2
@ -108,7 +108,7 @@ static int create_disk(
|
||||
f = fopen(p, "wxe");
|
||||
if (!f) {
|
||||
r = -errno;
|
||||
log_error("Failed to create unit file: %m");
|
||||
log_error("Failed to create unit file %s: %m", p);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@ -160,7 +160,7 @@ static int create_disk(
|
||||
|
||||
if (ferror(f)) {
|
||||
r = -errno;
|
||||
log_error("Failed to write file: %m");
|
||||
log_error("Failed to write file %s: %m", p);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user