Correct usage example.

PR:		docs/95059
Submitted by:	Jos Backus
MFC after:	4 days
This commit is contained in:
Ceri Davies 2006-04-18 21:37:24 +00:00
parent 5884c1a098
commit c499f23b6e

View File

@ -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