瀏覽代碼

Switch r356210 to use gone_in() instead of printf().

Suggested by:	cem
freebsd/current/master
rmacklem 7 月之前
父節點
當前提交
ca8fe5f7ad
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. +1
    -2
      sys/nfs/nfs_lock.c

+ 1
- 2
sys/nfs/nfs_lock.c 查看文件

@@ -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…
取消
儲存