diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 08:51:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-13 08:51:01 +0000 |
commit | cbb13fa11fdf4e178016090ecda8aac67d1dd83f (patch) | |
tree | b285268628fdae822c9d10c9843d328f76cdedb9 /lib/libc/gen/gethostname.c | |
parent | d42c04a67674249ebcb7704fd0826b517b048685 (diff) |
change size parameter to size_t
Diffstat (limited to 'lib/libc/gen/gethostname.c')
-rw-r--r-- | lib/libc/gen/gethostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c index b300c6a6641..0abf43a90f0 100644 --- a/lib/libc/gen/gethostname.c +++ b/lib/libc/gen/gethostname.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: gethostname.c,v 1.2 1996/08/19 08:23:35 tholo Exp $"; +static char rcsid[] = "$OpenBSD: gethostname.c,v 1.3 1998/05/13 08:50:58 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -41,7 +41,7 @@ static char rcsid[] = "$OpenBSD: gethostname.c,v 1.2 1996/08/19 08:23:35 tholo E int gethostname(name, namelen) char *name; - int namelen; + size_t namelen; { int mib[2]; size_t size; |