Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/npf/ext_log fix error message
details: https://anonhg.NetBSD.org/src/rev/19d5ce7f0e77
branches: trunk
changeset: 785376:19d5ce7f0e77
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 11 00:18:11 2013 +0000
description:
fix error message
diffstat:
lib/npf/ext_log/npfext_log.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 99d6d5bec872 -r 19d5ce7f0e77 lib/npf/ext_log/npfext_log.c
--- a/lib/npf/ext_log/npfext_log.c Mon Mar 11 00:16:59 2013 +0000
+++ b/lib/npf/ext_log/npfext_log.c Mon Mar 11 00:18:11 2013 +0000
@@ -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 @@
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;
}
Home |
Main Index |
Thread Index |
Old Index