diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-28 09:55:41 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-28 23:59:55 +0000 |
commit | 77d8b2cc80f2cd12b3267367dc453ef0d53c2af2 (patch) | |
tree | 77466925ebdbdf655f0e5bb8b16dff497cfaafdc /meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |
parent | ff81714af34de533104df1686d28bc9735c02c58 (diff) | |
download | poky-77d8b2cc80f2cd12b3267367dc453ef0d53c2af2.tar.gz |
systemd: Fix 252 release build on musl
(From OE-Core rev: 38256b5d8caa54024df9df908cc7fa49ca5fac39)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch b/meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch index e5e592a837..da56d8b4b6 100644 --- a/meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch +++ b/meta/recipes-core/systemd/systemd/0014-Do-not-disable-buffering-when-writing-to-oom_score_a.patch | |||
@@ -24,11 +24,9 @@ Signed-off-by: Scott Murray <scott.murray@konsulko.com> | |||
24 | src/basic/process-util.c | 2 +- | 24 | src/basic/process-util.c | 2 +- |
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | 25 | 1 file changed, 1 insertion(+), 1 deletion(-) |
26 | 26 | ||
27 | diff --git a/src/basic/process-util.c b/src/basic/process-util.c | ||
28 | index 6980e0c4f6..45ec26ea45 100644 | ||
29 | --- a/src/basic/process-util.c | 27 | --- a/src/basic/process-util.c |
30 | +++ b/src/basic/process-util.c | 28 | +++ b/src/basic/process-util.c |
31 | @@ -1460,7 +1460,7 @@ int set_oom_score_adjust(int value) { | 29 | @@ -1466,7 +1466,7 @@ int set_oom_score_adjust(int value) { |
32 | xsprintf(t, "%i", value); | 30 | xsprintf(t, "%i", value); |
33 | 31 | ||
34 | return write_string_file("/proc/self/oom_score_adj", t, | 32 | return write_string_file("/proc/self/oom_score_adj", t, |