diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-05 18:27:20 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-05 18:27:20 +0000 |
commit | 04f6ba42aba0902423c9ef2d2218ed3c640e7ad2 (patch) | |
tree | afe472592bc5ccf799e6ebaad6b5f0a0c01d6945 /lib/libc/gen | |
parent | d9e46a2d1ad8a223f05221279fb2d38533235a50 (diff) | |
download | FreeBSD-src-04f6ba42aba0902423c9ef2d2218ed3c640e7ad2.zip FreeBSD-src-04f6ba42aba0902423c9ef2d2218ed3c640e7ad2.tar.gz |
sethostname() returns int, not long. I could get used to having this
copy of insure++, too bad the runtime only works for BSD/OS. :-(
Maybe they'll be so impressed by my initial 15 entry bug report for it
that they'll take the FreeBSD version more seriously. :-) :-)
Diffstat (limited to 'lib/libc/gen')
-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; |