From 38158b920e772ea3a7cc9dfcf705666ce3aa5ce3 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 30 Apr 2013 00:35:38 -0400 Subject: cgls: add --machine/-M cg_get_machine_path is modified to include the escaped machine name + ".nspawn" if the machine argument is nonnull. --- src/shared/cgroup-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/cgroup-util.h') diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h index 7bd02c1008..92caa0c448 100644 --- a/src/shared/cgroup-util.h +++ b/src/shared/cgroup-util.h @@ -87,7 +87,7 @@ int cg_is_empty_recursive(const char *controller, const char *path, bool ignore_ int cg_get_root_path(char **path); int cg_get_system_path(char **path); int cg_get_user_path(char **path); -int cg_get_machine_path(char **path); +int cg_get_machine_path(const char *machine, char **path); int cg_path_get_session(const char *path, char **session); int cg_path_get_owner_uid(const char *path, uid_t *uid); -- cgit v1.2.3-54-g00ecf