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:
parent
fef1ad1517
commit
8c0e0014e1
2 changed files with 0 additions and 18 deletions
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -2,7 +2,6 @@ fix-manpages.patch
|
||||||
mdmonitor-service-simplify.diff
|
mdmonitor-service-simplify.diff
|
||||||
host-name-in-default-mailfrom.patch
|
host-name-in-default-mailfrom.patch
|
||||||
exit-gracefully-when-md-device-not-found.patch
|
exit-gracefully-when-md-device-not-found.patch
|
||||||
strcat-look-for-md-device-in-dev-md.patch
|
|
||||||
sha1-includes.diff
|
sha1-includes.diff
|
||||||
readlink-path.patch
|
readlink-path.patch
|
||||||
debian-no-Werror.diff
|
debian-no-Werror.diff
|
||||||
|
|
|
@ -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;
|
|
Loading…
Add table
Reference in a new issue