diff options
author | Ceri Davies <ceri@FreeBSD.org> | 2006-04-18 21:37:24 +0000 |
---|---|---|
committer | Ceri Davies <ceri@FreeBSD.org> | 2006-04-18 21:37:24 +0000 |
commit | c499f23b6e6fd363ea4fa1cb41aebf7ee2a1eb43 (patch) | |
tree | 5fc2a258e655a11d6d53ce1848ca2fdc1b2504d8 /lib | |
parent | 5884c1a0988faedb58fe13bf6664e57689d6ddf7 (diff) | |
download | src-c499f23b6e6fd363ea4fa1cb41aebf7ee2a1eb43.tar.gz src-c499f23b6e6fd363ea4fa1cb41aebf7ee2a1eb43.zip |
Correct usage example.
PR: docs/95059
Submitted by: Jos Backus
MFC after: 4 days
Notes
Notes:
svn path=/head/; revision=157852
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/wordexp.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/wordexp.3 b/lib/libc/gen/wordexp.3 index c3fb5e0aa606..02fc25312fe0 100644 --- a/lib/libc/gen/wordexp.3 +++ b/lib/libc/gen/wordexp.3 @@ -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 |