summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/getnetent.3
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-11-16 15:02:35 +0000
committerkevlo <kevlo@FreeBSD.org>2012-11-16 15:02:35 +0000
commitf2c2ff1baf52aee84f7261dd1c3b8687b02c1a66 (patch)
tree434d7f0e49e17245dd98a1aaa75f64f389e283e5 /lib/libc/net/getnetent.3
parentef999ad6bb4e9351f347886730f70e12aec77e2a (diff)
downloadFreeBSD-src-f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66.zip
FreeBSD-src-f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66.tar.gz
- the preferred way to write a NULL pointer constant is with NULL
- whitespace nit Reviewed by: glebius
Diffstat (limited to 'lib/libc/net/getnetent.3')
-rw-r--r--lib/libc/net/getnetent.35
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3
index 2e9cd33..ec08b6b 100644
--- a/lib/libc/net/getnetent.3
+++ b/lib/libc/net/getnetent.3
@@ -73,7 +73,7 @@ The order of the lookups is controlled by the
`networks' entry in
.Xr nsswitch.conf 5 .
.Bd -literal -offset indent
-struct netent {
+struct netent {
char *n_name; /* official name of net */
char **n_aliases; /* alias list */
int n_addrtype; /* net number type */
@@ -142,8 +142,7 @@ Network numbers are supplied in host order.
.It Pa /etc/resolv.conf
.El
.Sh DIAGNOSTICS
-Null pointer
-(0) returned on
+Null pointer returned on
.Dv EOF
or error.
.Sh SEE ALSO
OpenPOWER on IntegriCloud