From 3bc7113cc5d3fad6ea5e3cca1a1fd71e39e7a04c Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 7 Dec 2023 14:05:17 +0200 Subject: [PATCH] sudo: fix some typos --- userspace/sudo/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }