public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66cead0
)
init: oops commit the right version
author
Alan Cox
<alan@linux.intel.com>
Wed, 19 Oct 2016 22:06:35 +0000
(23:06 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Wed, 19 Oct 2016 22:06:35 +0000
(23:06 +0100)
Applications/util/init.c
patch
|
blob
|
history
diff --git
a/Applications/util/init.c
b/Applications/util/init.c
index
46cb090
..
d989488
100644
(file)
--- a/
Applications/util/init.c
+++ b/
Applications/util/init.c
@@
-136,8
+136,8
@@
static pid_t spawn_process(uint8_t * p, uint8_t wait)
args[an] = NULL;
/* Check for internal processes */
- if (strcmp(args[2], "getty") == 0)
- if ((pid = getty(args + 3, p + 1) == -1)
+ if (strcmp(args[2], "getty") == 0)
{
+ if ((pid = getty(args + 3, p + 1)
)
== -1)
return 0;
} else {
/* External */
@@
-705,7
+705,6
@@
static pid_t getty(const char **argv, const char *id)
const char *host = "";
char *p, buf[50], salt[3];
char hn[64];
- long baud = 9600;
gethostname(hn, sizeof(hn));