Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2010 12:07:48 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        uqs@FreeBSD.org
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r208075 - in head/usr.sbin/apmd: . contrib
Message-ID:  <20100518.120748.450985660133983957.imp@bsdimp.com>
In-Reply-To: <201005141426.o4EEQu7B081269@svn.freebsd.org>
References:  <201005141426.o4EEQu7B081269@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
: 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100518.120748.450985660133983957.imp>