summaryrefslogtreecommitdiffstats
path: root/include/libcgroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcgroup.h')
-rw-r--r--include/libcgroup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcgroup.h b/include/libcgroup.h
index 6a262e2..2cac820 100644
--- a/include/libcgroup.h
+++ b/include/libcgroup.h
@@ -288,7 +288,7 @@ int cgroup_get_current_controller_path(pid_t pid, const char *controller,
* @code: error code for which the corresponding error string is to be
* returned
*/
-char *cgroup_strerror(int code);
+const char *cgroup_strerror(int code);
/**
* Return last errno, which caused ECGOTHER error.