summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2006-02-15 15:40:52 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2006-02-15 15:40:52 +0000
commit6d2119f31fc0ce9bb90caa366e61245b317ea985 (patch)
tree75f1254da75b96823895706fb9186dc18108246e /usr.sbin
parent1eb8244e4edb61d8ab487e8dbd1f2ece76e9aceb (diff)
Repair call to gethostname(). From adobriyan at gmail.com. Patch submitted
upstream to the arla-drinkers at stacken.kth.se mailing list. henning@ ok
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/afs/src/milko/vldb/ubikprocs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/afs/src/milko/vldb/ubikprocs.c b/usr.sbin/afs/src/milko/vldb/ubikprocs.c
index d4491e83e80..84742999990 100644
--- a/usr.sbin/afs/src/milko/vldb/ubikprocs.c
+++ b/usr.sbin/afs/src/milko/vldb/ubikprocs.c
@@ -69,7 +69,7 @@ int Ubik_Debug(struct rx_call *call,
struct hostent *he;
struct in_addr tmp;
- if (gethostname (name, sizeof(name) < 0))
+ if (gethostname (name, sizeof(name)) < 0)
return -1;
he = gethostbyname (name);
if (he == NULL)