afs: ubikprocs.c: fix gethostname call

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

afs: ubikprocs.c: fix gethostname call

Alexey Dobriyan-2
--- usr.sbin/afs/src/milko/vldb/ubikprocs.c
+++ 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)