- The first argument of getmode() is a void *
- Add WARNS?= 6 Approved by: stefanf, grehan (mentor) Obtained from: DragonFlyBSD
This commit is contained in:
parent
5485abc1bb
commit
5ad9327a22
@ -2,5 +2,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= mkdir
|
||||
WARNS?= 6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user