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