Fix a style(9) bug.

This commit is contained in:
Jung-uk Kim 2016-08-03 20:21:58 +00:00
parent a4d10fa904
commit 9c46493e50

View File

@ -442,7 +442,7 @@ pcap_create_interface(const char *device, char *ebuf)
snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
pcap_strerror(errno));
free(p);
return NULL;
return (NULL);
}
p->tstamp_precision_list[0] = PCAP_TSTAMP_PRECISION_MICRO;
p->tstamp_precision_list[1] = PCAP_TSTAMP_PRECISION_NANO;