From fa129851243af1f8600245a7b6d21564f4687611 Mon Sep 17 00:00:00 2001 From: ceri Date: Tue, 18 Apr 2006 21:37:24 +0000 Subject: Correct usage example. PR: docs/95059 Submitted by: Jos Backus MFC after: 4 days --- lib/libc/gen/wordexp.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') 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 -- cgit v1.1