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:
parent
ecea04731c
commit
93b5eaec70
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user