summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2006-03-15 16:28:12 +0000
committermlaier <mlaier@FreeBSD.org>2006-03-15 16:28:12 +0000
commit26d969a37629604be8a3a3a4234127440945277a (patch)
tree04018888df5e7c392c16215ef49231dc3b63bceb /contrib
parent37ead6889b8b58c22ef40fd3c32edcc388492e0f (diff)
downloadFreeBSD-src-26d969a37629604be8a3a3a4234127440945277a.zip
FreeBSD-src-26d969a37629604be8a3a3a4234127440945277a.tar.gz
Constfy errstr as it is in OpenBSD to unbreak the build.
Pointed out by: Suken Woo, Martin Wilke, Wesley Morgan
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pf/pflogd/pflogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pf/pflogd/pflogd.c b/contrib/pf/pflogd/pflogd.c
index 274f8ff..5f7ebdd 100644
--- a/contrib/pf/pflogd/pflogd.c
+++ b/contrib/pf/pflogd/pflogd.c
@@ -555,7 +555,7 @@ main(int argc, char **argv)
struct pcap_stat pstat;
int ch, np, Xflag = 0;
pcap_handler phandler = dump_packet;
- char *errstr = NULL;
+ const char *errstr = NULL;
#ifdef __FreeBSD__
/* another ?paranoid? safety measure we do not have */
OpenPOWER on IntegriCloud