diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-14 23:04:50 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-02-14 23:15:42 -0500 |
commit | 93b5eaec70cc323046cad69a5e17993672a6f2f7 (patch) | |
tree | de36f37a4a2ebaece3aed9825aa5b815942c6853 /src/shared/util.h | |
parent | ecea04731c30e351c9eb3176d89af4a329ba784a (diff) |
Fix prototype of get_process_state
Diffstat (limited to 'src/shared/util.h')
-rw-r--r-- | src/shared/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/util.h b/src/shared/util.h index 8dede1f7ff..fcb45b5f5c 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -238,7 +238,7 @@ char *file_in_same_dir(const char *path, const char *filename); int rmdir_parents(const char *path, const char *stop); -char get_process_state(pid_t pid); +int get_process_state(pid_t pid); int get_process_comm(pid_t pid, char **name); int get_process_cmdline(pid_t pid, size_t max_length, bool comm_fallback, char **line); int get_process_exe(pid_t pid, char **name); |