glibc/SOURCES/glibc-RHEL-61558-3.patch

44 lines
1.6 KiB
Diff

From f176bf2a06b458dea8186fb2ff3bb8ea24da6d67 Mon Sep 17 00:00:00 2001
From: DJ Delorie <dj@redhat.com>
Date: Wed, 7 May 2025 19:23:06 -0400
Subject: [PATCH] manual: fix typo for sched_[sg]etattr
Content-type: text/plain; charset=UTF-8
Originally added in 41a90f3f5f which says it's adding sched_getattr
and sched_setattr.
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
---
manual/resource.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Conflicts
manual/resource.texi
Rebased for context and line numbers
diff --git a/manual/resource.texi b/manual/resource.texi
index acdb1f3986..a895021870 100644
--- a/manual/resource.texi
+++ b/manual/resource.texi
@@ -1016,7 +1016,7 @@ For additional information, consult the manual page
@manpageurl{sched_setattr,2}. @xref{Linux Kernel}.
@end deftp
-@deftypefun int sched_setaddr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int flags)
+@deftypefun int sched_setattr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int flags)
@standards{Linux, sched.h}
@safety{@mtsafe{}@assafe{}@acsafe{}}
This functions applies the scheduling policy described by
@@ -1059,7 +1059,7 @@ policy of the thread @var{tid}.
Other error codes depend on the scheduling policy.
@end deftypefun
-@deftypefun int sched_getaddr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int size, unsigned int flags)
+@deftypefun int sched_getattr (pid_t @var{tid}, struct sched_attr *@var{attr}, unsigned int size, unsigned int flags)
@standards{Linux, sched.h}
@safety{@mtsafe{}@assafe{}@acsafe{}}
This function obtains the scheduling policy of the thread @var{tid}
--
2.43.5