summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2008-04-13 23:39:52 +0000
committerThomas Osterried <thomas@osterried.de>2008-04-13 23:39:52 +0000
commite2adf099207424977fd064eab389671dcd065a72 (patch)
tree9161b7bdfc9061795581cd8a2446a252007caaf6
parent637e4cd23bc508116fd86d80208b07e33a4ce713 (diff)
typo: embeded is embedded
-rw-r--r--ax25/axspawn.84
-rw-r--r--ax25/axspawn.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/ax25/axspawn.8 b/ax25/axspawn.8
index 8b0ec2d..db34d23 100644
--- a/ax25/axspawn.8
+++ b/ax25/axspawn.8
@@ -84,8 +84,8 @@ properly.
Allow connecting ax25 users to change their username for login. They'll be
asked for their real login name.
.TP 5
-.B -e, --embeded
-Special treatment for axspawn on non-standard conform embeded devices.
+.B -e, --embedded
+Special treatment for axspawn on non-standard conform embedded devices.
I.e. openwrt has no true /bin/login: if you use it as a real login program,
it raises a security hole.
.TP 5
diff --git a/ax25/axspawn.c b/ax25/axspawn.c
index a954a1f..2b3615d 100644
--- a/ax25/axspawn.c
+++ b/ax25/axspawn.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: axspawn.c,v 1.15 2008/04/13 23:09:31 dl9sau Exp $
+ * $Id: axspawn.c,v 1.16 2008/04/13 23:39:52 dl9sau Exp $
*
* axspawn.c - run a program from ax25d.
*
@@ -1352,7 +1352,7 @@ int main(int argc, char **argv)
char changeuser = 0;
char user_changed = 0;
char rootlogin = 0;
- char dumb_embeded_system = 0;
+ char dumb_embedded_system = 0;
int pwtype = 0;
int pwtype_orig = 0;
char prompt[20];
@@ -1369,8 +1369,8 @@ int main(int argc, char **argv)
changeuser = 1;
if (!strcmp(argv[k], "-r") || !strcmp(argv[k], "--rootlogin"))
rootlogin = 1;
- if (!strcmp(argv[k], "-e") || !strcmp(argv[k], "--embeded"))
- dumb_embeded_system = 1;
+ if (!strcmp(argv[k], "-e") || !strcmp(argv[k], "--embedded"))
+ dumb_embedded_system = 1;
if ((!strcmp(argv[k], "-p") || !strcmp(argv[k], "--pwprompt")) && k < argc-1 ) {
strncpy(prompt, argv[k+1], sizeof(prompt));
prompt[sizeof(prompt)-1] = '\0';
@@ -1688,7 +1688,7 @@ again:
chargc = 0;
envc = 0;
- if (dumb_embeded_system) {
+ if (dumb_embedded_system) {
int ret = -1;
char *p = 0;
@@ -1784,7 +1784,7 @@ again:
sprintf(envp[envc++], "LESS=-d -E -F");
envp[envc] = NULL;
- if (dumb_embeded_system) {
+ if (dumb_embedded_system) {
if (setgid(pw->pw_gid) == -1)
exit(1);
if (setuid(pw->pw_uid) == -1)