summaryrefslogtreecommitdiff
path: root/kerberosIV
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosIV')
-rw-r--r--kerberosIV/kafs/afssys.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/kerberosIV/kafs/afssys.c b/kerberosIV/kafs/afssys.c
index e95057d1704..5a938e27d75 100644
--- a/kerberosIV/kafs/afssys.c
+++ b/kerberosIV/kafs/afssys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: afssys.c,v 1.7 1998/09/23 21:25:39 art Exp $ */
+/* $OpenBSD: afssys.c,v 1.8 1999/02/15 02:57:04 art Exp $ */
/* $KTH: afssys.c,v 1.57 1998/05/09 17:19:03 joda Exp $ */
/*
@@ -85,5 +85,9 @@ k_setpag(void)
int
k_hasafs(void)
{
- return xfspioctl(AFSCALL_PROBE, NULL, 0, NULL, 0) == 0;
+ struct ViceIoctl parms;
+
+ bzero(&parms, sizeof(struct ViceIoctl));
+
+ return k_pioctl(NULL, VIOCSETTOK, &parms, 0);
}