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
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user