summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-02-15 04:30:27 +0100
committerKay Sievers <kay@vrfy.org>2014-02-15 04:30:27 +0100
commitecea04731c30e351c9eb3176d89af4a329ba784a (patch)
treec55df819020cc3e69ad345dc14b7fb3ec21a141f /src/shared/util.c
parentb200a92cdc47b204e2ed7fbdd1eaf15abfd019c6 (diff)
util: fix mismatching function signature
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 b1a9db1d46..6b5b07463c 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -513,7 +513,7 @@ char *truncate_nl(char *s) {
return s;
}
-int get_process_state(pid_t pid) {
+char get_process_state(pid_t pid) {
const char *p;
char state;
int r;