From bbe2041959f116337ec5a326ff689cb80a906171 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 13:25:19 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- asroot.8 | 18 +++++++++--------- asroot.c | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/asroot.8 b/asroot.8 index d98be9f..43f1ccb 100644 --- a/asroot.8 +++ b/asroot.8 @@ -1,4 +1,4 @@ -.TH ASROOT 8 asroot +.TH ASROOT 8 ASROOT .SH NAME asroot - run a process as the root user @@ -52,17 +52,17 @@ The .B asroot utility does not use the standard input, however the .I command -it starts may. +it starts may use it. .SH INPUT FILES None. .SH ENVIRONMENT VARIABLES -The following environment variables affects the execution of +The following environment variables affect the execution of .BR asroot : .TP -.SH PATH -Default. See to the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. +.I PATH +Default. See the Base Definitions volume of POSIX.1-2017, Section 8.3, Other Environment Variables. .SH ASYNCHRONOUS EVENTS Default. @@ -72,7 +72,7 @@ The .B asroot utility does not use the standard output, however the .I command -it starts may. +it starts may use it. .SH STDERR The standard error is used for diagnostic messages and the @@ -94,7 +94,7 @@ If the utility fails it will exit with one of the following statuses: .TP 125 -A error occurred. +An error occurred. .TP 126 The process failed to change process image. @@ -124,11 +124,11 @@ None. The .I PATH environment variable will not be updated. -Updates environment variables are: +Updated environment variables are: .IR HOME , .IR LOGNAME , .IR MAIL , -.IR SHEEL , +.IR SHELL , and .IR USER . diff --git a/asroot.c b/asroot.c index eeed7ed..b15ea46 100644 --- a/asroot.c +++ b/asroot.c @@ -307,6 +307,6 @@ main(int argc, char *argv[]) } execvp(argv[0], argv); - fprintf(stderr, "%s: execvpe %s: %s\n", argv0, argv[0], strerror(errno)); + fprintf(stderr, "%s: execvp %s: %s\n", argv0, argv[0], strerror(errno)); return errno == ENOENT ? EXIT_NOENT : EXIT_EXEC; } -- cgit v1.2.3-70-g09d2