diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-21 07:37:41 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-07-21 07:37:41 +0000 |
commit | f7d9145ebb7ecca3cdd9b71c388755b07712a9fe (patch) | |
tree | 3575639bdffb27f0aa9f433f2829e775c54594e7 /src | |
parent | 2f5b7a02b87b25b63c15d1d561fb7ea618de2d8e (diff) | |
download | mdevd-f7d9145ebb7ecca3cdd9b71c388755b07712a9fe.tar.xz |
Prepare for 0.1.0.2
Diffstat (limited to 'src')
-rw-r--r-- | src/mdevd/mdevd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mdevd/mdevd.c b/src/mdevd/mdevd.c index 1feae07..68d68d4 100644 --- a/src/mdevd/mdevd.c +++ b/src/mdevd/mdevd.c @@ -22,6 +22,7 @@ #include <sys/socket.h> #include <linux/netlink.h> +#include <skalibs/posixplz.h> #include <skalibs/types.h> #include <skalibs/allreadwrite.h> #include <skalibs/bytestr.h> @@ -795,7 +796,7 @@ static inline int run_scriptelem (struct uevent_s *event, scriptelem const *elem { if (verbosity) strerr_warnwu4sys("rename ", tmppath, " to ", devname) ; - unlink(tmppath) ; + unlink_void(tmppath) ; } } } @@ -837,10 +838,10 @@ static inline int run_scriptelem (struct uevent_s *event, scriptelem const *elem if (elem->movetype == MOVEINFO_MOVEANDLINK) { if (dryrun) strerr_warni2x("dry run: unlink ", devname) ; - else unlink(devname) ; + else unlink_void(devname) ; } if (dryrun) strerr_warni2x("dry run: unlink ", node) ; - else unlink(node) ; + else unlink_void(node) ; } return !elem->flagcont ; |