]> The Tcpdump Group git mirrors - libpcap/blobdiff - savefile.c
No, that's not an issue - it'll be a strdup() in any case, and safe to
[libpcap] / savefile.c
index b501b6a5cf039892f93ccfa6023c8ebd5211aaf3..67da51fd629f82f50e0b19088ba2b584a54415c8 100644 (file)
@@ -1361,7 +1361,7 @@ pcap_fopen_offline(FILE *fp, char *errbuf)
        bpf_u_int32 magic;
        int linklen;
 
-       p = pcap_create_common(NULL, errbuf);
+       p = pcap_create_common("(savefile)", errbuf);
        if (p == NULL)
                return (NULL);