1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-19 22:50:17 +03:00

Fix prototype of get_process_state

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-02-14 23:04:50 -05:00
parent ecea04731c
commit 93b5eaec70
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);