summaryrefslogtreecommitdiff
path: root/kerberosIV
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-02-15 02:57:05 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-02-15 02:57:05 +0000
commit76d5f860bc710088cb0755a91ab95213de5f55a4 (patch)
tree19d0af6db9782d6885c0ad2f82a70ba5f1325996 /kerberosIV
parent16335154d5d108942ff53895635c84b3a9dfc1ba (diff)
use an empty VIOCSETTOK instead of the probe call
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);
}