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

- Add WARNS?= 6

Approved by:	stefanf, grehan (mentor)
Obtained from:	DragonFlyBSD
This commit is contained in:
Suleiman Souhlal 2005-01-25 14:31:19 +00:00
parent 6449237fe6
commit 3ac2b17742
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140816
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;