summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-07 18:21:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-03-07 18:21:29 +0000
commit69ab088aee37a2b77a5f2ede2f15c8a01c370a2c (patch)
treeda9a217e0737fd4d4115852eac44dd8298bb8505
parentUpdating host-name-in-default-mailfrom.patch for new upstream. (diff)
downloadmdadm-69ab088aee37a2b77a5f2ede2f15c8a01c370a2c.tar.xz
mdadm-69ab088aee37a2b77a5f2ede2f15c8a01c370a2c.zip
Updating exit-gracefully-when-md-device-not-found.patch for new upstream.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0004-exit-gracefully-when-md-device-not-found.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/patches/debian/0004-exit-gracefully-when-md-device-not-found.patch b/debian/patches/debian/0004-exit-gracefully-when-md-device-not-found.patch
index c580449..225a8a3 100644
--- a/debian/patches/debian/0004-exit-gracefully-when-md-device-not-found.patch
+++ b/debian/patches/debian/0004-exit-gracefully-when-md-device-not-found.patch
@@ -13,7 +13,7 @@ diff -Naurp mdadm.orig/Monitor.c mdadm/Monitor.c
+ if (st->devnm[0] == 0) {
+ char *found = fd2devnm(fd);
+ if (!found) {
-+ alert("DeviceDisappeared", dev, NULL, ainfo);
++ alert(EVENT_DEVICE_DISAPPEARED, NULL, 0, dev, NULL);
+ goto out;
+ }
+ snprintf(st->devnm, MD_NAME_MAX, "%s", found);