summaryrefslogtreecommitdiff
path: root/lib/kvatoname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kvatoname.c')
-rw-r--r--lib/kvatoname.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/kvatoname.c b/lib/kvatoname.c
index b0fe69dafb3c5..7b5d0c4f1bc82 100644
--- a/lib/kvatoname.c
+++ b/lib/kvatoname.c
@@ -1,10 +1,10 @@
/*
- * Copyright (C) 2002 by Darren Reed.
- *
- * See the IPFILTER.LICENCE file for details on licencing.
- *
- * $Id: kvatoname.c,v 1.1.4.1 2006/06/16 17:21:05 darrenr Exp $
- */
+ * Copyright (C) 2012 by Darren Reed.
+ *
+ * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * $Id$
+ */
#include "ipf.h"
@@ -12,8 +12,8 @@
#include <sys/ioctl.h>
char *kvatoname(func, iocfunc)
-ipfunc_t func;
-ioctlfunc_t iocfunc;
+ ipfunc_t func;
+ ioctlfunc_t iocfunc;
{
static char funcname[40];
ipfunc_resolve_t res;
@@ -23,7 +23,7 @@ ioctlfunc_t iocfunc;
res.ipfu_name[0] = '\0';
fd = -1;
- if ((opts & OPT_DONOTHING) == 0) {
+ if ((opts & OPT_DONTOPEN) == 0) {
fd = open(IPL_NAME, O_RDONLY);
if (fd == -1)
return NULL;