Correct usage example.
PR: docs/95059 Submitted by: Jos Backus MFC after: 4 days
This commit is contained in:
parent
5884c1a098
commit
c499f23b6e
@ -167,7 +167,7 @@ and
|
||||
wordexp_t we;
|
||||
|
||||
wordexp("${EDITOR:-vi} *.c /etc/motd", &we, 0);
|
||||
execvp(we->we_wordv[0], we->we_wordv);
|
||||
execvp(we.we_wordv[0], we.we_wordv);
|
||||
.Ed
|
||||
.Sh DIAGNOSTICS
|
||||
Diagnostic messages from the shell are written to the standard error output
|
||||
|
Loading…
x
Reference in New Issue
Block a user