]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
src/abstraction-map.c: use ARRAY_SIZE() macro
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 8 Aug 2023 10:15:56 +0000 (15:45 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 10 Aug 2023 15:56:48 +0000 (09:56 -0600)
commitcbcfcaed7ae39ba48e9423d8e37a0cd0f50aa5fb
tree2b4694163cc3e41dd834beb324c56546192db3e5
parent5279c5914a3a0bf15990ff88447750422b4da1c4
src/abstraction-map.c: use ARRAY_SIZE() macro

Use ARRAY_SIZE() macro to calculate the length of the array, across the
file.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/abstraction-map.c