diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 38881163694a..1c3f2239a6d3 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -63,13 +63,13 @@ static const char rcsid[] = #include #include #include +#include #include #include #include #include #include -#include #include "newfs.h" static void fatal(const char *fmt, ...) __printflike(1, 2); @@ -136,15 +136,15 @@ int avgfilesize = AVFILESIZ;/* expected average file size */ int avgfilesperdir = AFPDIR;/* expected number of files per directory */ int bbsize = BBSIZE; /* boot block size */ int sbsize = SBSIZE; /* superblock size */ -static int t_or_u_flag = 0; /* user has specified -t or -u */ -static char *disktype; -static int unlabeled; static char device[MAXPATHLEN]; +static char *disktype; static char *progname; +static int t_or_u_flag; /* user has specified -t or -u */ +static int unlabeled; -static void rewritelabel (char *s, int fd, register struct disklabel *lp); -static void usage (void); +static void rewritelabel(char *s, int fd, register struct disklabel *lp); +static void usage(void); int main(int argc, char *argv[])