Module Name: src
Committed By: christos
Date: Mon Mar 11 00:18:11 UTC 2013
Modified Files:
src/lib/npf/ext_log: npfext_log.c
Log Message:
fix error message
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 src/lib/npf/ext_log/npfext_log.c:1.3
--- src/lib/npf/ext_log/npfext_log.c:1.2 Sun Mar 10 20:03:18 2013
+++ src/lib/npf/ext_log/npfext_log.c Sun Mar 10 20:18:11 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: npfext_log.c,v 1.2 2013/03/11 00:03:18 christos Exp $ */
+/* $NetBSD: npfext_log.c,v 1.3 2013/03/11 00:18:11 christos Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npfext_log.c,v 1.2 2013/03/11 00:03:18 christos Exp $");
+__RCSID("$NetBSD: npfext_log.c,v 1.3 2013/03/11 00:18:11 christos Exp $");
#include <sys/types.h>
#include <sys/socket.h>
@@ -99,7 +99,7 @@ npfext_log_param(nl_ext_t *ext, const ch
ifr.ifr_flags |= IFF_UP;
if (ioctl(s, SIOCSIFFLAGS, &ifr) == -1) {
- warn("Can't SIOSGIFFLAGS `%s'", param);
+ warn("Can't SIOCSIFFLAGS `%s'", param);
close(s);
return errno;
}