summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/gethostname.c')
-rw-r--r--lib/libc/gen/gethostname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/gethostname.c b/lib/libc/gen/gethostname.c
index 058e4b6..64bd64d 100644
--- a/lib/libc/gen/gethostname.c
+++ b/lib/libc/gen/gethostname.c
@@ -38,7 +38,7 @@ static char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 6/4/93";
#include <sys/param.h>
#include <sys/sysctl.h>
-long
+int
gethostname(name, namelen)
char *name;
int namelen;
OpenPOWER on IntegriCloud