Module Name: src
Committed By: wiz
Date: Thu Sep 13 11:09:42 UTC 2012
Modified Files:
src/usr.sbin/rpc.lockd: lockd_lock.c
Log Message:
Fix typo in syslog message.
>From Edgar Fuß in PR 46950.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/rpc.lockd/lockd_lock.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/rpc.lockd/lockd_lock.c
diff -u src/usr.sbin/rpc.lockd/lockd_lock.c:1.32 src/usr.sbin/rpc.lockd/lockd_lock.c:1.33
--- src/usr.sbin/rpc.lockd/lockd_lock.c:1.32 Tue Aug 30 17:06:21 2011
+++ src/usr.sbin/rpc.lockd/lockd_lock.c Thu Sep 13 11:09:41 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: lockd_lock.c,v 1.32 2011/08/30 17:06:21 plunky Exp $ */
+/* $NetBSD: lockd_lock.c,v 1.33 2012/09/13 11:09:41 wiz Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
@@ -397,7 +397,7 @@ unlock(nlm4_lock *lck, int flags)
/* nothing to do */
break;
default:
- syslog(LOG_NOTICE, "unknow status %d for %s",
+ syslog(LOG_NOTICE, "unknown status %d for %s",
fl->status, fl->client_name);
}
sigunlock();
@@ -458,7 +458,7 @@ sigchild_handler(int sig)
break;
}
if (fl == NULL) {
- syslog(LOG_NOTICE, "unknow child %d", pid);
+ syslog(LOG_NOTICE, "unknown child %d", pid);
} else {
/*
* protect from pid reusing.
@@ -839,7 +839,7 @@ notify(const char *hostname, int state)
case LKST_DYING:
break;
default:
- syslog(LOG_NOTICE, "unknow status %d for %s",
+ syslog(LOG_NOTICE, "unknown status %d for %s",
fl->status, fl->client_name);
}
}