cgroup-util: make cg_pidref_get_path() PidRef parameter const
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user