summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-17 02:17:55 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-17 02:17:55 +0000
commit11621d0e52312ba0397fb6833845e5800e3b730e (patch)
tree6fdf42ea56d2460619c4bac2353d38ff9854b3fa /src
parentfixed init.d script Required-Start and Stop (diff)
fixed spelling errors
Diffstat (limited to 'src')
-rw-r--r--src/daemon.h4
-rw-r--r--src/sysexec.c2
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;