1
0
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:
Michal Schmidt 2012-11-23 14:16:39 +01:00
parent 74576bea7a
commit 1cda32b8a2

View File

@ -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;
}