aboutsummaryrefslogtreecommitdiff
path: root/bin/mkdir
diff options
context:
space:
mode:
authorSuleiman Souhlal <ssouhlal@FreeBSD.org>2005-01-25 14:31:19 +0000
committerSuleiman Souhlal <ssouhlal@FreeBSD.org>2005-01-25 14:31:19 +0000
commit3ac2b177426dbabe0d560b2219824fe2d2311ba1 (patch)
treedbcdb52f7299f5c61cf00535c502d0539f2eb7c3 /bin/mkdir
parent6449237fe684b89033d2ded0e1885ceb379ed8c4 (diff)
Notes
Diffstat (limited to 'bin/mkdir')
-rw-r--r--bin/mkdir/Makefile1
-rw-r--r--bin/mkdir/mkdir.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/bin/mkdir/Makefile b/bin/mkdir/Makefile
index fadc6b294ef7..4df383b68035 100644
--- a/bin/mkdir/Makefile
+++ b/bin/mkdir/Makefile
@@ -2,5 +2,6 @@
# $FreeBSD$
PROG= mkdir
+WARNS?= 6
.include <bsd.prog.mk>
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index 3664853a101f..93a39e62728d 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -62,7 +62,8 @@ int
main(int argc, char *argv[])
{
int ch, exitval, success, pflag;
- mode_t omode, *set = (mode_t *)NULL;
+ mode_t omode;
+ void *set = NULL;
char *mode;
omode = pflag = 0;