summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mailx/fio.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mailx/fio.c')
-rw-r--r--usr/src/cmd/mailx/fio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/mailx/fio.c b/usr/src/cmd/mailx/fio.c
index 59eceb519f..53907ca760 100644
--- a/usr/src/cmd/mailx/fio.c
+++ b/usr/src/cmd/mailx/fio.c
@@ -757,7 +757,7 @@ expand(char *name)
if (debug) fprintf(stderr, "%s\n", name);
return (name);
}
- if (wordexp(name, &wrdexp_buf, 0) != 0) {
+ if (wordexp(name, &wrdexp_buf, WRDE_NOCMD) != 0) {
fprintf(stderr, gettext("Syntax error in \"%s\"\n"), name);
fflush(stderr);
return (NOSTR);