diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon.h | 4 | ||||
-rw-r--r-- | src/sysexec.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon.h b/src/daemon.h index 04a4d4f..0113fcd 100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -60,7 +60,7 @@ int priv_init(priv_info_t* priv, const char* username, const char* groupname) priv->pw_ = getpwnam(username); if(!priv->pw_) { - log_printf(ERROR, "unkown user %s", username); + log_printf(ERROR, "unknown user %s", username); return -1; } @@ -70,7 +70,7 @@ int priv_init(priv_info_t* priv, const char* username, const char* groupname) priv->gr_ = getgrgid(priv->pw_->pw_gid); if(!priv->gr_) { - log_printf(ERROR, "unkown group %s", groupname); + log_printf(ERROR, "unknown group %s", groupname); return -1; } diff --git a/src/sysexec.c b/src/sysexec.c index 6e4e821..1d3df91 100644 --- a/src/sysexec.c +++ b/src/sysexec.c @@ -108,7 +108,7 @@ int uanytun_exec(const char* script, char* const argv[], char* const evp[]) else if(WIFSIGNALED(status)) log_printf(NOTICE, "script '%s' terminated after signal %d", script, WTERMSIG(status)); else - log_printf(ERROR, "executing script '%s': unkown error", script); + log_printf(ERROR, "executing script '%s': unknown error", script); close(pipefd[0]); return status; |