chiark / gitweb /
util: fix mismatching function signature
authorKay Sievers <kay@vrfy.org>
Sat, 15 Feb 2014 03:30:27 +0000 (04:30 +0100)
committerKay Sievers <kay@vrfy.org>
Sat, 15 Feb 2014 03:30:27 +0000 (04:30 +0100)
src/shared/util.c

index b1a9db1..6b5b074 100644 (file)
@@ -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;