mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Fix warnings and set WARNS to 6.
MFC after: 1 week
This commit is contained in:
parent
a797c79b34
commit
59d06d2fb0
2 changed files with 5 additions and 3 deletions
|
|
@ -3,5 +3,6 @@
|
|||
PROG= cfi
|
||||
BINDIR= /usr/local/bin
|
||||
NO_MAN=
|
||||
WARNS?=6
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
|||
|
|
@ -38,9 +38,12 @@
|
|||
#include <sys/ioctl.h>
|
||||
#include <sys/cfictl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
const char *progname;
|
||||
const char *dvname;
|
||||
|
|
@ -48,8 +51,6 @@ const char *dvname;
|
|||
static void
|
||||
usage(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
fprintf(stderr, "usage: %s [-f device] op...\n", progname);
|
||||
fprintf(stderr, "where op's are:\n");
|
||||
fprintf(stderr, "fact\t\tread factory PR segment\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue