1
0
Fork 0

Removing strcat-look-for-md-device-in-dev-md.patch, solved differently upstream.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-14 06:02:00 +01:00
parent fef1ad1517
commit 8c0e0014e1
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 0 additions and 18 deletions

View file

@ -2,7 +2,6 @@ fix-manpages.patch
mdmonitor-service-simplify.diff
host-name-in-default-mailfrom.patch
exit-gracefully-when-md-device-not-found.patch
strcat-look-for-md-device-in-dev-md.patch
sha1-includes.diff
readlink-path.patch
debian-no-Werror.diff

View file

@ -1,17 +0,0 @@
Description: Look for md device in /dev/md
Author: Martin Mares <mj@ucw.cz>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=958060
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Monitor.c
+++ b/Monitor.c
@@ -188,7 +188,7 @@ int Monitor(struct mddev_dev *devlist,
st->devname = xstrdup(mdlist->devname);
else {
st->devname = xmalloc(8+strlen(mdlist->devname)+1);
- strcpy(strcpy(st->devname, "/dev/md/"),
+ strcat(strcpy(st->devname, "/dev/md/"),
mdlist->devname);
}
st->next = statelist;