Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2021 06:30:12 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 65dd321054cb - main - sched.h: Use pid_t type for pid argument
Message-ID:  <202112170630.1BH6UCAc059724@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=65dd321054cbbbcca192375b08843e860fc3b3c5

commit 65dd321054cbbbcca192375b08843e860fc3b3c5
Author:     David CARLIER <devnexen@gmail.com>
AuthorDate: 2021-12-17 06:22:21 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-17 06:22:21 +0000

    sched.h: Use pid_t type for pid argument
    
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D33533
---
 include/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sched.h b/include/sched.h
index 2d4f301c9718..e03f076febb1 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -41,7 +41,7 @@ typedef struct _cpuset cpu_set_t;
 __BEGIN_DECLS
 #if __BSD_VISIBLE
 int sched_getaffinity(pid_t pid, size_t cpusetsz, cpuset_t *cpuset);
-int sched_setaffinity(int pid, size_t cpusetsz, const cpuset_t *cpuset);
+int sched_setaffinity(pid_t pid, size_t cpusetsz, const cpuset_t *cpuset);
 int sched_getcpu(void);
 #endif /* __BSD_VISIBLE */
 __END_DECLS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112170630.1BH6UCAc059724>