summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-07-06 17:34:53 +0000
committerasomers <asomers@FreeBSD.org>2017-07-06 17:34:53 +0000
commitfa37f1c820abf8a84d3bbbce8abac35e331d45dd (patch)
treead7427ced2b700956b5f222414314ee91473910f /cddl
parent38e040b8a74b276abd3c9818289ff2c4839e050a (diff)
downloadFreeBSD-src-fa37f1c820abf8a84d3bbbce8abac35e331d45dd.zip
FreeBSD-src-fa37f1c820abf8a84d3bbbce8abac35e331d45dd.tar.gz
MFC r320165-r320167
r320165: devd(8): Remove pidfile on shutdown Sponsored by: Spectra Logic Corp r320166: Require devd to be running for its ATF tests to run The ATF tests communicate with the system's running devd PR: 220169 Reported by: gjb Sponsored by: Spectra Logic Corp r320167: zfsd(8): Remove pidfile on shutdown Sponsored by: Spectra Logic Corp
Diffstat (limited to 'cddl')
-rw-r--r--cddl/usr.sbin/zfsd/zfsd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/usr.sbin/zfsd/zfsd.cc b/cddl/usr.sbin/zfsd/zfsd.cc
index e05c16d..648455f 100644
--- a/cddl/usr.sbin/zfsd/zfsd.cc
+++ b/cddl/usr.sbin/zfsd/zfsd.cc
@@ -437,7 +437,7 @@ void
ZfsDaemon::ClosePIDFile()
{
if (s_pidFH != NULL)
- pidfile_close(s_pidFH);
+ pidfile_remove(s_pidFH);
}
void
OpenPOWER on IntegriCloud