diff options
author | ceri <ceri@FreeBSD.org> | 2006-04-18 21:37:24 +0000 |
---|---|---|
committer | ceri <ceri@FreeBSD.org> | 2006-04-18 21:37:24 +0000 |
commit | fa129851243af1f8600245a7b6d21564f4687611 (patch) | |
tree | 5fc2a258e655a11d6d53ce1848ca2fdc1b2504d8 /lib/libc/gen/wordexp.3 | |
parent | 56c56816b9f44bbd74b969d3566feefd1141c237 (diff) | |
download | FreeBSD-src-fa129851243af1f8600245a7b6d21564f4687611.zip FreeBSD-src-fa129851243af1f8600245a7b6d21564f4687611.tar.gz |
Correct usage example.
PR: docs/95059
Submitted by: Jos Backus
MFC after: 4 days
Diffstat (limited to 'lib/libc/gen/wordexp.3')
-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 c3fb5e0..02fc253 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 |