svn commit: r356219 - head/sys/nfs
Rick Macklem
rmacklem at FreeBSD.org
Tue Dec 31 05:39:28 UTC 2019
Author: rmacklem
Date: Tue Dec 31 05:39:27 2019
New Revision: 356219
URL: https://svnweb.freebsd.org/changeset/base/356219
Log:
Switch r356210 to use gone_in() instead of printf().
Suggested by: cem
Modified:
head/sys/nfs/nfs_lock.c
Modified: head/sys/nfs/nfs_lock.c
==============================================================================
--- head/sys/nfs/nfs_lock.c Tue Dec 31 04:53:50 2019 (r356218)
+++ head/sys/nfs/nfs_lock.c Tue Dec 31 05:39:27 2019 (r356219)
@@ -89,8 +89,7 @@ nfslock_open(struct cdev *dev, int oflags, int devtype
{
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);
More information about the svn-src-all
mailing list