Module Name:    src
Committed By:   christos
Date:           Mon Mar 11 00:29:10 UTC 2013

Modified Files:
        src/lib/npf/ext_log: npfext_log.c

Log Message:
fix error message and type of if_idx


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/npf/ext_log/npfext_log.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/npf/ext_log/npfext_log.c
diff -u src/lib/npf/ext_log/npfext_log.c:1.3 src/lib/npf/ext_log/npfext_log.c:1.4
--- src/lib/npf/ext_log/npfext_log.c:1.3	Sun Mar 10 20:18:11 2013
+++ src/lib/npf/ext_log/npfext_log.c	Sun Mar 10 20:29:09 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: npfext_log.c,v 1.3 2013/03/11 00:18:11 christos Exp $	*/
+/*	$NetBSD: npfext_log.c,v 1.4 2013/03/11 00:29:09 christos Exp $	*/
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,13 +30,14 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: npfext_log.c,v 1.3 2013/03/11 00:18:11 christos Exp $");
+__RCSID("$NetBSD: npfext_log.c,v 1.4 2013/03/11 00:29:09 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <net/if.h>
 
+#include <stdio.h>
 #include <string.h>
 #include <assert.h>
 #include <errno.h>
@@ -66,7 +67,7 @@ npfext_log_construct(const char *name)
 int
 npfext_log_param(nl_ext_t *ext, const char *param, const char *val __unused)
 {
-	unsigned long if_idx;
+	unsigned int if_idx;
 
 	assert(param != NULL);
 

Reply via email to