Constfy errstr as it is in OpenBSD to unbreak the build.

Pointed out by:	Suken Woo, Martin Wilke, Wesley Morgan
This commit is contained in:
Max Laier 2006-03-15 16:28:12 +00:00
parent eef6f6efc2
commit 1a58af5ef7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156744

View File

@ -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 */