summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);