diff options
Diffstat (limited to 'lib/libc/gen/getdomainname.c')
-rw-r--r-- | lib/libc/gen/getdomainname.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/getdomainname.c b/lib/libc/gen/getdomainname.c index c7a5f77fef1..d8afd8276c4 100644 --- a/lib/libc/gen/getdomainname.c +++ b/lib/libc/gen/getdomainname.c @@ -28,16 +28,14 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: getdomainname.c,v 1.4 2003/06/02 20:18:34 millert Exp $"; +static char rcsid[] = "$OpenBSD: getdomainname.c,v 1.5 2003/06/11 21:03:10 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> #include <sys/sysctl.h> int -getdomainname(name, namelen) - char *name; - size_t namelen; +getdomainname(char *name, size_t namelen) { int mib[2]; size_t size; |