don't panic the system when fpathconv is called on an unsupported filetype.
This commit is contained in:
parent
6a77970fb2
commit
1e48e18a71
@ -642,7 +642,7 @@ fpathconf(p, uap)
|
||||
return (VOP_PATHCONF(vp, uap->name, p->p_retval));
|
||||
|
||||
default:
|
||||
panic("fpathconf");
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
/*NOTREACHED*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user