diff options
Diffstat (limited to 'usr.sbin/nghook')
-rw-r--r-- | usr.sbin/nghook/Makefile | 1 | ||||
-rw-r--r-- | usr.sbin/nghook/main.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/nghook/Makefile b/usr.sbin/nghook/Makefile index e427f26..8b2644a 100644 --- a/usr.sbin/nghook/Makefile +++ b/usr.sbin/nghook/Makefile @@ -4,6 +4,7 @@ PROG= nghook MAN= nghook.8 SRCS= main.c +WARNS= 6 DPADD= ${LIBNETGRAPH} LDADD= -lnetgraph diff --git a/usr.sbin/nghook/main.c b/usr.sbin/nghook/main.c index 69ee581..ec9d724 100644 --- a/usr.sbin/nghook/main.c +++ b/usr.sbin/nghook/main.c @@ -71,7 +71,8 @@ int main(int ac, char *av[]) { struct ngm_connect ngc; - char *path = NULL, *hook = DEFAULT_HOOKNAME; + const char *path = NULL; + const char *hook = DEFAULT_HOOKNAME; int csock, dsock; int asciiFlag = 0; int loopFlag = 0; |