cgroup-util: make cg_pidref_get_path() PidRef parameter const

This commit is contained in:
Lennart Poettering
2023-10-18 14:39:33 +02:00
parent 44c55e5a3f
commit f2a2e60be6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -809,7 +809,7 @@ int cg_pid_get_path(const char *controller, pid_t pid, char **ret_path) {
}
}
int cg_pidref_get_path(const char *controller, PidRef *pidref, char **ret_path) {
int cg_pidref_get_path(const char *controller, const PidRef *pidref, char **ret_path) {
_cleanup_free_ char *path = NULL;
int r;