diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2012-11-23 14:16:39 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2012-11-23 14:19:30 +0100 |
commit | 1cda32b8a29750720872d3525084ac67b88e066f (patch) | |
tree | 6707ec6e13626e0782217ab28c6495b15a85a197 /src/cryptsetup | |
parent | 74576bea7a50740f1aec423bac5e20f8ca7a8592 (diff) |
cryptsetup-generator: state file name in error messages
Diffstat (limited to 'src/cryptsetup')
-rw-r--r-- | src/cryptsetup/cryptsetup-generator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup-generator.c b/src/cryptsetup/cryptsetup-generator.c index ef16fbc2f5..6e7b7070e2 100644 --- a/src/cryptsetup/cryptsetup-generator.c +++ b/src/cryptsetup/cryptsetup-generator.c @@ -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; } |