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

@@ -1884,7 +1884,7 @@ cleantmpdir(jid, tpath, user)
tpath);
break;
case 0:
execl(CLEANTMPCMD, CLEANTMPCMD, user, tpath, 0);
execl(CLEANTMPCMD, CLEANTMPCMD, user, tpath, NULL);
syslog(LOG_ERR, "TMPDIR cleanup(%s): execl(%s) failed: %m\n",
tpath, CLEANTMPCMD);
exit(1);