use NULL as last argument to execl, not 0

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14747 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-06 11:23:54 +00:00
parent 2697d2a0f3
commit c41860a8ee
3 changed files with 4 additions and 4 deletions

View File

@@ -297,8 +297,8 @@ zrefresh(void)
return -1;
case 0:
/* Child */
execlp("zrefresh", "zrefresh", 0);
execl(BINDIR "/zrefresh", "zrefresh", 0);
execlp("zrefresh", "zrefresh", NULL);
execl(BINDIR "/zrefresh", "zrefresh", NULL);
return -1;
default:
/* Parent */