Commit 8001e398 authored by unknown's avatar unknown

Eliminate gcc 4.0 warning in libedit code. (Bug #9603)


cmd-line-utils/libedit/vi.c:
  Eliminate compiler warning
parent 29fcd4b3
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment