jail: cgroups: fix uninitialized variable
authorDaniel Golle <daniel@makrotopia.org>
Thu, 28 Jan 2021 23:46:16 +0000 (23:46 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 2 Feb 2021 12:54:00 +0000 (12:54 +0000)
commitfd183797bc527a160958a5dee6b5af35646ccc6b
treecaa515213c2f82d0049652856f6144054a548ec1
parent0a74c067f9d1d17a82ac10ff2f86596a887a41aa
jail: cgroups: fix uninitialized variable

Make sure 'limit' is initialized to -1 (==max) when translating
cgroups-1 memory controller spec to cgroups-2.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/cgroups.c