summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2005-05-14 23:48:15 +0200
committerunknown <kent@mysql.com>2005-05-14 23:48:15 +0200
commitfe302e584eb9661ad444482b747078130b7977b0 (patch)
treecba4e6ab6d4d475afed624aa5f810b93a0a6fccf /cmd-line-utils
parent89ef3990d93762ddf24af9f4c20a63afb42e8faa (diff)
parent78f2e7b53db62a3bc67dcb5ed20dfe47cf680c66 (diff)
downloadmariadb-git-fe302e584eb9661ad444482b747078130b7977b0.tar.gz
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/Users/kent/mysql/cw/mysql-4.1
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/libedit/vi.c b/cmd-line-utils/libedit/vi.c
index 4a0352859dd..b977ce716c6 100644
--- a/cmd-line-utils/libedit/vi.c
+++ b/cmd-line-utils/libedit/vi.c
@@ -1014,7 +1014,7 @@ vi_histedit(EditLine *el, int c)
return CC_ERROR;
case 0:
close(fd);
- execlp("vi", "vi", tempfile, 0);
+ execlp("vi", "vi", tempfile, (char *) NULL);
exit(0);
/*NOTREACHED*/
default: