mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
Switch r356210 to use gone_in() instead of printf().
Suggested by: cem
This commit is contained in:
parent
a1cedb80c6
commit
54640e6d16
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356219
|
@ -89,8 +89,7 @@ nfslock_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
|
|||
{
|
||||
int error;
|
||||
|
||||
printf("WARNING: uses Giant and will be removed before FreeBSD 13\n"
|
||||
"\tuse the kernel NFSLOCKD/nfslockd.ko\n");
|
||||
gone_in(13, "uses Giant; replace with NFSLOCKD/nfslockd.ko");
|
||||
error = priv_check(td, PRIV_NFS_LOCKD);
|
||||
if (error)
|
||||
return (error);
|
||||
|
|
Loading…
Reference in a new issue