Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/npf/npfctl fix hint.
details: https://anonhg.NetBSD.org/src/rev/a9b3c21c7d74
branches: trunk
changeset: 820538:a9b3c21c7d74
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 11 02:10:44 2017 +0000
description:
fix hint.
diffstat:
usr.sbin/npf/npfctl/npfctl.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r d6aac3a72841 -r a9b3c21c7d74 usr.sbin/npf/npfctl/npfctl.c
--- a/usr.sbin/npf/npfctl/npfctl.c Wed Jan 11 01:25:05 2017 +0000
+++ b/usr.sbin/npf/npfctl/npfctl.c Wed Jan 11 02:10:44 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: npfctl.c,v 1.52 2016/12/29 20:48:50 rmind Exp $ */
+/* $NetBSD: npfctl.c,v 1.53 2017/01/11 02:10:44 christos Exp $ */
/*-
* Copyright (c) 2009-2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: npfctl.c,v 1.52 2016/12/29 20:48:50 rmind Exp $");
+__RCSID("$NetBSD: npfctl.c,v 1.53 2017/01/11 02:10:44 christos Exp $");
#include <sys/stat.h>
#include <sys/types.h>
@@ -695,7 +695,8 @@
if (ver != NPF_VERSION) {
errx(EXIT_FAILURE,
"incompatible NPF interface version (%d, kernel %d)\n"
- "Hint: update userland?", NPF_VERSION, ver);
+ "Hint: update %s?", NPF_VERSION, ver,
+ NPF_VERSION > ver ? "userland" : "kernel");
}
return fd;
}
Home |
Main Index |
Thread Index |
Old Index