diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/sethostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/sethostname.c b/lib/libc/gen/sethostname.c index 639837e..6c3adc3 100644 --- a/lib/libc/gen/sethostname.c +++ b/lib/libc/gen/sethostname.c @@ -39,10 +39,10 @@ static char sccsid[] = "@(#)sethostname.c 8.1 (Berkeley) 6/4/93"; #include <sys/sysctl.h> #if __STDC__ -long +int sethostname(const char *name, int namelen) #else -long +int sethostname(name, namelen) char *name; int namelen; |