forked from pool/systemd
3283fdeb6b
add: 1026-re-add-persistent-net.patch - rebase all patches, ensure that they apply properly. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=357
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 1cda32b8a29750720872d3525084ac67b88e066f Mon Sep 17 00:00:00 2001
|
|
From: Michal Schmidt <mschmidt@redhat.com>
|
|
Date: Fri, 23 Nov 2012 14:16:39 +0100
|
|
Subject: [PATCH] cryptsetup-generator: state file name in error messages
|
|
|
|
---
|
|
src/cryptsetup/cryptsetup-generator.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: systemd-195/src/cryptsetup/cryptsetup-generator.c
|
|
===================================================================
|
|
--- systemd-195.orig/src/cryptsetup/cryptsetup-generator.c
|
|
+++ systemd-195/src/cryptsetup/cryptsetup-generator.c
|
|
@@ -230,7 +230,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;
|
|
}
|
|
|
|
@@ -283,7 +283,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;
|
|
}
|
|
|