summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-05-13 10:03:16 -0700
committerunknown <jimw@mysql.com>2005-05-13 10:03:16 -0700
commit147ac05124b3c320a3fe9147d8044b5b8f8c9586 (patch)
treecc34075b24b905cf8343e1d7c202e8995b91ca2b /cmd-line-utils
parente425a5078d0c2151c252325b53dcc5ad05b01d56 (diff)
parenta30baca7c2aebc6d042fa6bca81a67624cf267df (diff)
downloadmariadb-git-147ac05124b3c320a3fe9147d8044b5b8f8c9586.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.1-9603
into mysql.com:/home/jimw/my/mysql-4.1-clean
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: