diff options
author | uqs <uqs@FreeBSD.org> | 2010-05-19 08:52:51 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2010-05-19 08:52:51 +0000 |
commit | a04b2a20be978a06afae263bda8e096122045f41 (patch) | |
tree | c79bbbd514a324efb22591212b0eaf67cd7e50db /usr.sbin/apmd/Makefile | |
parent | ebb7d74daeb7d8d95e5f195222ca706cfe992819 (diff) | |
download | FreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.zip FreeBSD-src-a04b2a20be978a06afae263bda8e096122045f41.tar.gz |
- Fix terminating argument to execl(3), sizeof(NULL) != sizeof(char *)
might be true on some systems [1]
- Rewrite gotos to use return directly
- Some spelling fixes
- Reduce unneeded/non-standard Makefile settings
Requested by: bde, imp [1]
Explanation provided by: bde [1]
Reviewed by: imp
Diffstat (limited to 'usr.sbin/apmd/Makefile')
-rw-r--r-- | usr.sbin/apmd/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/apmd/Makefile b/usr.sbin/apmd/Makefile index 6f7e066..9a0dc0d 100644 --- a/usr.sbin/apmd/Makefile +++ b/usr.sbin/apmd/Makefile @@ -10,12 +10,7 @@ WARNS?= 3 DPADD= ${LIBL} LDADD= -ll -YFLAGS+=-v -CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED -# for debug: -#CFLAGS+= -g -DDEBUG - -CLEANFILES= y.output +CFLAGS+= -I${.CURDIR} test: ./apmd -d -f etc/apmd.conf -n |