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:
parent
eef6f6efc2
commit
1a58af5ef7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156744
@ -555,7 +555,7 @@ main(int argc, char **argv)
|
|||||||
struct pcap_stat pstat;
|
struct pcap_stat pstat;
|
||||||
int ch, np, Xflag = 0;
|
int ch, np, Xflag = 0;
|
||||||
pcap_handler phandler = dump_packet;
|
pcap_handler phandler = dump_packet;
|
||||||
char *errstr = NULL;
|
const char *errstr = NULL;
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
/* another ?paranoid? safety measure we do not have */
|
/* another ?paranoid? safety measure we do not have */
|
||||||
|
Loading…
Reference in New Issue
Block a user