Commit ac0a0a6a authored by Niels Möller's avatar Niels Möller

Minor bug fixes.

Rev: src/lsh-execuv.c:1.2
parent 8bbb5196
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
#include "lsh_types.h" #include "lsh_types.h"
#include <assert.h>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -112,7 +113,7 @@ die_errno(const char *msg) ...@@ -112,7 +113,7 @@ die_errno(const char *msg)
} }
/* Convert a string to a number */ /* Convert a string to a number */
long void static long
atoid(const char *s, int *ok) atoid(const char *s, int *ok)
{ {
char *end; char *end;
...@@ -230,7 +231,7 @@ int main(int argc, char **argv) ...@@ -230,7 +231,7 @@ int main(int argc, char **argv)
int ok; int ok;
struct pwd *pwd = NULL; struct passwd *pwd = NULL;
for (;;) for (;;)
switch (getopt(argc, argv, "u:n:g:ic")) switch (getopt(argc, argv, "u:n:g:ic"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment