diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-22 02:51:45 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-07-22 02:51:45 +0000 |
commit | dab12d4ffe2066eedee8f8134d1c67c715fcfaec (patch) | |
tree | b78d98cf2ab21f764337ab1847b08112426dc41d /lib/libc/gen | |
parent | eb9f6e8ee64276b4108de4b65b85d662ea6c832a (diff) |
EFAULT can only occur on addresses; ok jmc
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/getdomainname.3 | 4 | ||||
-rw-r--r-- | lib/libc/gen/gethostname.3 | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/gen/getdomainname.3 b/lib/libc/gen/getdomainname.3 index b3e0831e4d1..1755571db75 100644 --- a/lib/libc/gen/getdomainname.3 +++ b/lib/libc/gen/getdomainname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdomainname.3,v 1.21 2005/02/25 03:12:43 cloder Exp $ +.\" $OpenBSD: getdomainname.3,v 1.22 2005/07/22 02:51:44 jaredy Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -72,8 +72,6 @@ The following errors may be returned by these calls: .It Bq Er EFAULT The .Fa name -or -.Fa namelen parameter gave an invalid address. .It Bq Er EPERM diff --git a/lib/libc/gen/gethostname.3 b/lib/libc/gen/gethostname.3 index 5db7efcb0fc..068b777e541 100644 --- a/lib/libc/gen/gethostname.3 +++ b/lib/libc/gen/gethostname.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gethostname.3,v 1.20 2005/02/25 03:12:43 cloder Exp $ +.\" $OpenBSD: gethostname.3,v 1.21 2005/07/22 02:51:44 jaredy Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -72,8 +72,6 @@ The following errors may be returned by these calls: .It Bq Er EFAULT The .Fa name -or -.Fa namelen parameter gave an invalid address. .It Bq Er EPERM The caller tried to set the hostname and was not the superuser. |