WARNSfy to avoid further botch.
This commit is contained in:
parent
1abcfa381e
commit
17739fce78
@ -1,5 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.2 2001/12/12 01:49:56 tv Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2011/05/04 11:44:25 tsutsui Exp $
|
||||
|
||||
WARNS?= 4
|
||||
PROG= newdisk
|
||||
CPPFLAGS+= -DMBOOT=\"/usr/mdec/mboot\"
|
||||
DPADD+= ${LIBUTIL}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: newdisk.c,v 1.8 2011/04/29 06:00:33 isaki Exp $ */
|
||||
/* $NetBSD: newdisk.c,v 1.9 2011/05/04 11:44:25 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 Minoura Makoto
|
||||
@ -41,14 +41,16 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <err.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <util.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/disklabel.h>
|
||||
#include <sys/dkio.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
char *mboot = MBOOT;
|
||||
const char *mboot = MBOOT;
|
||||
char dev[MAXPATHLEN];
|
||||
char buf[4096 + 1];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user