summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/pfctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index 815ecba6c1c..a7b415867cb 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.313 2012/07/26 11:48:00 mikeb Exp $ */
+/* $OpenBSD: pfctl.c,v 1.314 2012/09/19 15:52:17 camield Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1539,7 +1539,7 @@ pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit)
if (errno == EBUSY)
warnx("Current pool size exceeds requested hard limit");
else
- warnx("DIOCSETLIMIT");
+ warnx("cannot set '%s' limit", pf_limits[index].name);
return (1);
}
return (0);