From: Miroslav Lichvar Date: Tue, 8 Mar 2011 16:58:29 +0000 (-0800) Subject: Fix man page typoes. X-Git-Tag: libpcap-1.2.1~80 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/5f461e4adb4d82b8b44310f2dfc53a7070830284 Fix man page typoes. Reviewed-By: Guy Harris --- diff --git a/pcap_compile.3pcap.in b/pcap_compile.3pcap.in index e557fdb4..7dbdad5a 100644 --- a/pcap_compile.3pcap.in +++ b/pcap_compile.3pcap.in @@ -55,7 +55,7 @@ the filter program. If the netmask of the network on which packets are being captured isn't known to the program, or if packets are being captured on the Linux "any" pseudo-interface that can capture on more than one network, a value of PCAP_NETMASK_UNKNOWN can be supplied; tests -for IPv4 broadcast addreses will fail to compile, but all other tests in +for IPv4 broadcast addresses will fail to compile, but all other tests in the filter program will be OK. .SH RETURN VALUE .B pcap_compile() diff --git a/pcap_next_ex.3pcap b/pcap_next_ex.3pcap index 922efe2a..73738360 100644 --- a/pcap_next_ex.3pcap +++ b/pcap_next_ex.3pcap @@ -95,13 +95,13 @@ as an argument to fetch or display the error text. .B pcap_next() returns a pointer to the packet data on success, and returns .B NULL -if an error occured, or if no packets were read from a live +if an error occurred, or if no packets were read from a live capture (if, for example, they were discarded because they didn't pass the packet filter, or if, on platforms that support a read timeout that starts before any packets arrive, the timeout expires before any packets arrive, or if the file descriptor for the capture device is in non-blocking mode and no packets were available to be read), or if no more packets are available in a ``savefile.'' Unfortunately, there is -no way to determine whether an error occured or not. +no way to determine whether an error occurred or not. .SH SEE ALSO pcap(3PCAP), pcap_geterr(3PCAP), pcap_dispatch(3PCAP) diff --git a/pcap_open_live.3pcap b/pcap_open_live.3pcap index 623f0986..0889a2a2 100644 --- a/pcap_open_live.3pcap +++ b/pcap_open_live.3pcap @@ -74,7 +74,7 @@ is filled in with an appropriate error message. .I errbuf may also be set to warning text when .B pcap_open_live() -succeds; to detect this case the caller should store a zero-length string in +succeeds; to detect this case the caller should store a zero-length string in .I errbuf before calling .B pcap_open_live()