From 1e48e18a710b517238a0acb9033bc02eb52b9b99 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 27 Jun 2000 23:08:36 +0000 Subject: don't panic the system when fpathconv is called on an unsupported filetype. --- sys/kern/kern_descrip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern') diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index f0095c97..89121ac 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -642,7 +642,7 @@ fpathconf(p, uap) return (VOP_PATHCONF(vp, uap->name, p->p_retval)); default: - panic("fpathconf"); + return (EOPNOTSUPP); } /*NOTREACHED*/ } -- cgit v1.1