summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 6b5b07463c..b1a9db1d46 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -513,7 +513,7 @@ char *truncate_nl(char *s) {
return s;
}
-char get_process_state(pid_t pid) {
+int get_process_state(pid_t pid) {
const char *p;
char state;
int r;