svn commit: r208075 - in head/usr.sbin/apmd: . contrib

M. Warner Losh imp at bsdimp.com
Tue May 18 18:10:56 UTC 2010


: Modified: head/usr.sbin/apmd/apmd.c
: -		execl(_PATH_BSHELL, "sh", "-c", p->line, (char *)NULL);
: +		execl(_PATH_BSHELL, "sh", "-c", p->line, NULL);

This looks like a regression to me.  Since execl is varadic, you do
need this cast...

Warner


More information about the svn-src-head mailing list