Skip to content

Commit d315ff2

Browse files
WavyEbuilderstephensmalley
authored andcommitted
docs: fix context_*_range (3) return value documentation
The context_*_range () family of functions return less than zero on failure[1][2]. [1] https://github.com/SELinuxProject/selinux/blob/main/libselinux/src/context.c#L184 [2] https://github.com/SELinuxProject/selinux/blob/main/libselinux/src/context.c#L190 Signed-off-by: Rahul Sandhu <[email protected]> Acked-by: Stephen Smalley <[email protected]>
1 parent c409382 commit d315ff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libselinux/man/man3/context_new.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ set a context component.
7171
.SH "RETURN VALUE"
7272
On failure
7373
.BR context_*_set ()
74-
functions return non-zero and 0 on success.
74+
functions return non-zero on failure and 0 on success.
7575

7676
The other functions return NULL on failure and non-NULL on success.
7777

0 commit comments

Comments
 (0)