Mercurial > hg
changeset 391:868a350fefca
Fix "missing sentinel in function call" warning with gcc4
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 04 Aug 2005 09:00:54 +0100 |
parents | 468c9cac2798 |
children | 6329c9601704 |
files | mcabber/src/hooks.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Mon Aug 01 21:43:01 2005 +0100 +++ b/mcabber/src/hooks.c Thu Aug 04 09:00:54 2005 +0100 @@ -160,7 +160,7 @@ } if (pid == 0) { // child - if (execl(extcmd, extcmd, arg_type, arg_info, jid, arg_data) == -1) { + if (execl(extcmd, extcmd, arg_type, arg_info, jid, arg_data, NULL) == -1) { // scr_LogPrint(LPRINT_LOGNORM, "Cannot execute external command."); exit(1); }