diff mbox series

[02/11] libselinux/man: sync selinux_check_securetty_context(3)

Message ID 20231219160943.334370-2-cgzones@googlemail.com (mailing list archive)
State Accepted
Commit abd18ec31b98
Delegated to: Petr Lautrbach
Headers show
Series [01/11] libselinux/man: mention errno for regex compilation failure | expand

Commit Message

Christian Göttsche Dec. 19, 2023, 4:09 p.m. UTC
Add the missing const qualifier.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 libselinux/man/man3/selinux_check_securetty_context.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libselinux/man/man3/selinux_check_securetty_context.3 b/libselinux/man/man3/selinux_check_securetty_context.3
index 429023bb..7b64cc5e 100644
--- a/libselinux/man/man3/selinux_check_securetty_context.3
+++ b/libselinux/man/man3/selinux_check_securetty_context.3
@@ -5,12 +5,12 @@  selinux_check_securetty_context \- check whether a SELinux tty security context
 .SH "SYNOPSIS"
 .B #include <selinux/selinux.h>
 .sp
-.BI "int selinux_check_securetty_context(char *" tty_context );
+.BI "int selinux_check_securetty_context(const char *" tty_context );
 .
 .SH "DESCRIPTION"
 .BR selinux_check_securetty_context ()
 returns 0 if tty_context is a securetty context,
-returns < 0 otherwise. 
+returns < 0 otherwise.
 .
 .SH "SEE ALSO"
 .BR selinux "(8)"