diff options
author | pjd <pjd@FreeBSD.org> | 2013-03-14 20:22:52 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-03-14 20:22:52 +0000 |
commit | 1b62958b4e3fc6e1ea024e0c6d27308be8a97a46 (patch) | |
tree | 38ea865b333d6b945882197ba73331589eabd9ae /sys/fs | |
parent | 63efc821c3e4785928997ea88e1de93e62ce3acb (diff) | |
download | FreeBSD-src-1b62958b4e3fc6e1ea024e0c6d27308be8a97a46.zip FreeBSD-src-1b62958b4e3fc6e1ea024e0c6d27308be8a97a46.tar.gz |
When pidptr was passed as NULL to pidfile_open(3), we were returning
EAGAIN/EWOULDBLOCK when another daemon was running and had the pidfile open.
We should return EEXIST in that case, fix it.
Reported by: Dirk Engling <erdgeist@erdgeist.org>
Reviewed by: jhb, Dirk Engling <erdgeist@erdgeist.org>
MFC after: 1 week
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions