forked from Bananymous/banan-os
sudo: fix some typos
This commit is contained in:
parent
24243268a6
commit
3bc7113cc5
|
@ -4,7 +4,7 @@
|
||||||
int usage(char* argv0, int ret)
|
int usage(char* argv0, int ret)
|
||||||
{
|
{
|
||||||
FILE* fp = (ret == 0) ? stdout : stderr;
|
FILE* fp = (ret == 0) ? stdout : stderr;
|
||||||
fprintf(fp, "usage: %s COMMAND [ARGUMENTS]\n", argv0);
|
fprintf(fp, "usage: %s COMMAND [ARGUMENTS...]\n", argv0);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,6 +26,6 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
execvp(argv[1], argv + 1);
|
execvp(argv[1], argv + 1);
|
||||||
|
|
||||||
perror("execv");
|
perror("execvp");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue