Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
systemd-mini.17931
0011-bus-unit-util-add-proper-MemorySwapMax-ser...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0011-bus-unit-util-add-proper-MemorySwapMax-serialization.patch of Package systemd-mini.17931
From 093a1b702f0b2f0a66f5efdd1205f29aee1b1057 Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Thu, 9 Jul 2020 19:28:11 +0200 Subject: [PATCH 11/15] bus-unit-util: add proper MemorySwapMax= serialization Fixes: #7505 (cherry picked from commit 147fe484c178b6e4d60ee7c6982345dd51bf434d) [mkoutny: adjusted context] --- src/shared/bus-unit-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/bus-unit-util.c b/src/shared/bus-unit-util.c index 7117c5dacc..b3b76bfb17 100644 --- a/src/shared/bus-unit-util.c +++ b/src/shared/bus-unit-util.c @@ -151,7 +151,7 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen r = sd_bus_message_append(m, "sv", n, "t", t); goto finish; - } else if (STR_IN_SET(field, "MemoryLow", "MemoryHigh", "MemoryMax", "MemoryLimit")) { + } else if (STR_IN_SET(field, "MemoryLow", "MemoryHigh", "MemoryMax", "MemorySwapMax", "MemoryLimit")) { uint64_t bytes; if (isempty(eq) || streq(eq, "infinity")) -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor