summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--solenv/lockfile/dotlockfile.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 10a6804f9e0b..14ba2345fade 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5703,7 +5703,7 @@ dnl ===================================================================
if test -z "$CROSS_COMPILING"; then
test -n "$LOCKFILE" -a "${with_system_lockfile+set}" != set && with_system_lockfile="$LOCKFILE"
test "${with_system_lockfile+set}" = set || with_system_lockfile=no
- AC_MSG_CHECKING([whick lockfile binary to use])
+ AC_MSG_CHECKING([which lockfile binary to use])
case "$with_system_lockfile" in
yes)
AC_MSG_RESULT([external])
diff --git a/solenv/lockfile/dotlockfile.c b/solenv/lockfile/dotlockfile.c
index 3670ecc238a6..e963f792f618 100644
--- a/solenv/lockfile/dotlockfile.c
+++ b/solenv/lockfile/dotlockfile.c
@@ -81,7 +81,7 @@ int set_signal(int sig, void (*handler)(int))
}
/*
- * Sleep for an amount of time while regulary checking if
+ * Sleep for an amount of time while regularly checking if
* our parent is still alive.
*/
int check_sleep(int sleeptime, int flags)
@@ -164,7 +164,7 @@ void perror_exit(const char *why) {
}
/*
- * Print usage mesage and exit.
+ * Print usage message and exit.
*/
void usage(void)
{
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
if (gid != egid) {
/*
* See if the requested lock is for a mailbox.
- * First, remember currect working directory.
+ * First, remember current working directory.
*/
#ifdef O_PATH
cwd_fd = open(".", O_PATH|O_CLOEXEC);