- The first argument of getmode() is a void *

- Add WARNS?= 6

Approved by:	stefanf, grehan (mentor)
Obtained from:	DragonFlyBSD
This commit is contained in:
ssouhlal 2005-01-25 14:31:19 +00:00
parent 5485abc1bb
commit 5ad9327a22
2 changed files with 3 additions and 1 deletions

View File

@ -2,5 +2,6 @@
# $FreeBSD$
PROG= mkdir
WARNS?= 6
.include <bsd.prog.mk>

View File

@ -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;