ebc3dd7614
Please checkin also to openSUSE 12.3 - udev: re-add persistent network rules (bnc#809843). add: 1026-re-add-persistent-net.patch - rebase all patches, ensure that they apply properly. OBS-URL: https://build.opensuse.org/request/show/160211 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=134
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;
|
|
}
|
|
|