[v5,12/35] delete_module.2: Add missing include

Message ID 20210404115847.78166-13-alx.manpages@gmail.com
State New
Headers show
Series
  • Untitled series #36395
Related show

Commit Message

Alejandro Colomar via Libc-alpha April 4, 2021, 11:58 a.m.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man2/delete_module.2 | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.31.0

Comments

Alejandro Colomar via Libc-alpha April 5, 2021, 10:48 a.m. | #1
Hi ALex,

On 4/4/21 1:58 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

> ---

>  man2/delete_module.2 | 2 ++

>  1 file changed, 2 insertions(+)



Patch applied.

Thanks,

Michael


> 

> diff --git a/man2/delete_module.2 b/man2/delete_module.2

> index bb0a812a6..174ef04d2 100644

> --- a/man2/delete_module.2

> +++ b/man2/delete_module.2

> @@ -27,6 +27,8 @@

>  delete_module \- unload a kernel module

>  .SH SYNOPSIS

>  .nf

> +.BR "#include <fcntl.h>" "            /* Definition of " O_* " constants */"

> +.PP

>  .BI "int delete_module(const char *" name ", unsigned int " flags );

>  .fi

>  .PP

> 



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Patch

diff --git a/man2/delete_module.2 b/man2/delete_module.2
index bb0a812a6..174ef04d2 100644
--- a/man2/delete_module.2
+++ b/man2/delete_module.2
@@ -27,6 +27,8 @@ 
 delete_module \- unload a kernel module
 .SH SYNOPSIS
 .nf
+.BR "#include <fcntl.h>" "            /* Definition of " O_* " constants */"
+.PP
 .BI "int delete_module(const char *" name ", unsigned int " flags );
 .fi
 .PP