Fix 'deamon' -> 'daemon' in a comment.

Obtained from:	NetBSD, OpenBSD
MFC after:	4 days
This commit is contained in:
Garance A Drosehn 2002-04-19 18:36:56 +00:00
parent 150508c64d
commit f6d5668396

View File

@ -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);