diff options
author | Xin LI <delphij@FreeBSD.org> | 2005-01-27 14:44:39 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2005-01-27 14:44:39 +0000 |
commit | 3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4 (patch) | |
tree | 800108ee5884bcedcb1f18818809981552758c56 /usr.sbin/setpmac | |
parent | 8755b918a1c4389c74f96cfb3f87abd9a4998fdf (diff) | |
download | src-3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4.tar.gz src-3e7cb94c9c8e6aaea734c07ebc4f967caf4232c4.zip |
Notes
Diffstat (limited to 'usr.sbin/setpmac')
-rw-r--r-- | usr.sbin/setpmac/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/setpmac/setpmac.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/setpmac/Makefile b/usr.sbin/setpmac/Makefile index 08b8b93d0bcc..ca398ea7a8c3 100644 --- a/usr.sbin/setpmac/Makefile +++ b/usr.sbin/setpmac/Makefile @@ -4,6 +4,6 @@ PROG= setpmac MAN= setpmac.8 SRCS= setpmac.c -WARNS?= 2 +WARNS?= 6 .include <bsd.prog.mk> diff --git a/usr.sbin/setpmac/setpmac.c b/usr.sbin/setpmac/setpmac.c index 8314a7756455..bc096bbbc56a 100644 --- a/usr.sbin/setpmac/setpmac.c +++ b/usr.sbin/setpmac/setpmac.c @@ -46,7 +46,7 @@ #define MAXELEMENTS 32 -void +static void usage(void) { @@ -57,7 +57,7 @@ usage(void) int main(int argc, char *argv[]) { - char *shell; + const char *shell; mac_t label; int error; |