summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/gen/wordexp.32
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
OpenPOWER on IntegriCloud