Blame SOURCES/0229-Fix-prototype-of-get_process_state.patch
|
|
9fc0f6 |
From 9ada721f27bbf373f407b40de1ae558397e4c851 Mon Sep 17 00:00:00 2001
|
|
|
9fc0f6 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
9fc0f6 |
Date: Fri, 14 Feb 2014 23:04:50 -0500
|
|
|
9fc0f6 |
Subject: [PATCH] Fix prototype of get_process_state
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
---
|
|
|
9fc0f6 |
src/shared/util.h | 2 +-
|
|
|
9fc0f6 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
diff --git a/src/shared/util.h b/src/shared/util.h
|
|
|
9fc0f6 |
index 1d60687..3a4bc98 100644
|
|
|
9fc0f6 |
--- a/src/shared/util.h
|
|
|
9fc0f6 |
+++ b/src/shared/util.h
|
|
|
9fc0f6 |
@@ -215,7 +215,7 @@ char *file_in_same_dir(const char *path, const char *filename);
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
int rmdir_parents(const char *path, const char *stop);
|
|
|
9fc0f6 |
|
|
|
9fc0f6 |
-char get_process_state(pid_t pid);
|
|
|
9fc0f6 |
+int get_process_state(pid_t pid);
|
|
|
9fc0f6 |
int get_process_comm(pid_t pid, char **name);
|
|
|
9fc0f6 |
int get_process_cmdline(pid_t pid, size_t max_length, bool comm_fallback, char **line);
|
|
|
9fc0f6 |
int get_process_exe(pid_t pid, char **name);
|