From eaca7c7bc42d2557c8786e0dbcbb4ae1b22b1f61 Mon Sep 17 00:00:00 2001 From: Tom Rhodes Date: Thu, 25 Dec 2008 09:15:31 +0000 Subject: [PATCH] Document that kldunloadf can return EINVAL. PR: 125639 --- lib/libc/sys/kldunload.2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/kldunload.2 b/lib/libc/sys/kldunload.2 index 27e8c55600a..d1c259b5146 100644 --- a/lib/libc/sys/kldunload.2 +++ b/lib/libc/sys/kldunload.2 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 10, 2008 +.Dd December 25, 2008 .Dt KLDUNLOAD 2 .Os .Sh NAME @@ -69,6 +69,10 @@ You do not have access to unlink the file from the kernel. The file was not found. .It Bq Er EBUSY You attempted to unload a file linked by the kernel. +.It Bq Er EINVAL +The +.Fn kldunloadf +system call was passed invalid flags. .El .Sh SEE ALSO .Xr kldfind 2 ,