diff options
Diffstat (limited to 'compat/pidfile.c')
-rw-r--r-- | compat/pidfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/pidfile.c b/compat/pidfile.c index 9dfd9c468a7a..8d2e5a838c0e 100644 --- a/compat/pidfile.c +++ b/compat/pidfile.c @@ -1,4 +1,4 @@ -/* $NetBSD: pidfile.c,v 1.14 2016/04/12 20:40:43 roy Exp $ */ +/* $NetBSD: pidfile.c,v 1.16 2021/08/01 15:29:29 andvar Exp $ */ /*- * Copyright (c) 1999, 2016 The NetBSD Foundation, Inc. @@ -131,7 +131,7 @@ pidfile_varrun_path(char *path, size_t len, const char *bname) } /* Returns the process ID inside path on success, otherwise -1. - * If no path is given, use the last pidfile path, othewise the default one. */ + * If no path is given, use the last pidfile path, otherwise the default one. */ pid_t pidfile_read(const char *path) { @@ -239,7 +239,7 @@ return_pid: if (errno == EAGAIN) { /* The pidfile is locked, return the process ID * it contains. - * If sucessful, set errno to EEXIST. */ + * If successful, set errno to EEXIST. */ if ((pid = pidfile_read(path)) != -1) errno = EEXIST; } else |