diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 14:50:16 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 14:50:16 +0000 |
commit | 99e240493cbc8d306d291f7ca2cc459e93a14f62 (patch) | |
tree | 6f0edc0af6cfc847faefab1c4d30b93841115cc1 | |
parent | 3b97e7ba3d63d2852fe0a00eb30e7a3b1eb96a0a (diff) |
Don't panic on kqueues and crypto descriptors in fpathconf.
Just return EOPNOTSUPP.
-rw-r--r-- | sys/kern/kern_descrip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index ad4a83e5152..9ca08ede2d4 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_descrip.c,v 1.29 2001/05/16 12:49:45 art Exp $ */ +/* $OpenBSD: kern_descrip.c,v 1.30 2001/05/23 14:50:15 art Exp $ */ /* $NetBSD: kern_descrip.c,v 1.42 1996/03/30 22:24:38 christos Exp $ */ /* @@ -573,7 +573,7 @@ sys_fpathconf(p, v, retval) return (VOP_PATHCONF(vp, SCARG(uap, name), retval)); default: - panic("fpathconf"); + return (EOPNOTSUPP); } /*NOTREACHED*/ } |