Fix 'deamon' -> 'daemon' in a comment.
Obtained from: NetBSD, OpenBSD MFC after: 4 days
This commit is contained in:
parent
150508c64d
commit
f6d5668396
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95068
@ -282,7 +282,7 @@ main(int argc, char **argv)
|
||||
lfd = open(_PATH_MASTERLOCK, O_WRONLY|O_CREAT|O_EXLOCK|O_NONBLOCK,
|
||||
LOCK_FILE_MODE);
|
||||
if (lfd < 0) {
|
||||
if (errno == EWOULDBLOCK) /* active deamon present */
|
||||
if (errno == EWOULDBLOCK) /* active daemon present */
|
||||
exit(0);
|
||||
syslog(LOG_ERR, "%s: %m", _PATH_MASTERLOCK);
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user