diff --git a/userspace/sudo/main.cpp b/userspace/sudo/main.cpp index 3ab61075a9..10ba5952c4 100644 --- a/userspace/sudo/main.cpp +++ b/userspace/sudo/main.cpp @@ -4,7 +4,7 @@ int usage(char* argv0, int ret) { FILE* fp = (ret == 0) ? stdout : stderr; - fprintf(fp, "usage: %s COMMAND [ARGUMENTS]\n", argv0); + fprintf(fp, "usage: %s COMMAND [ARGUMENTS...]\n", argv0); return ret; } @@ -26,6 +26,6 @@ int main(int argc, char** argv) execvp(argv[1], argv + 1); - perror("execv"); + perror("execvp"); return 1; }