]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
samples/c: match naming with upstream Linux
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 14 Oct 2024 01:17:03 +0000 (06:47 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 22 Oct 2024 15:53:24 +0000 (09:53 -0600)
commitc72a703bac6fe123d163a66b9545eeb992fbe8be
treeaf2d996140181ff91a0009b30635ce8c5c52fb3a
parent1a4c72cc898f8c8cfbd72fd4ef7c2d23533a4a24
samples/c: match naming with upstream Linux

Rename local variable 'cgroup' -> 'cgrp' to match upstream Linux Kernel,
across the files under samples/c/ bringing it closer to the Linux kernel
cgroup code.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
samples/c/create_systemd_scope.c
samples/c/empty_cgroup_v2.c
samples/c/get_variable_names.c
samples/c/read_stats.c
samples/c/test_functions.c
samples/c/test_named_hierarchy.c
samples/c/walk_task.c
samples/c/wrapper_test.c