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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to