From 921c2059f9a85ab5ad26463e864e49d4e7b48d9e Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 2 Dec 2021 19:36:59 +0100 Subject: [PATCH] Fix typos Change-Id: I9f7d185d7d9ac0b90473464932103a7c5545fdc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126260 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski Reviewed-by: Julien Nabet --- configure.ac | 2 +- solenv/lockfile/dotlockfile.c | 6 +++--- 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);