summaryrefslogtreecommitdiff
path: root/src/procman.h
diff options
context:
space:
mode:
authorAlexander Pyhalov <[email protected]>2018-05-04 16:28:18 +0300
committerAlexander Pyhalov <[email protected]>2018-05-07 18:41:39 +0300
commit5b1f551af8a58ab768d3e49d24ebadf53f5db360 (patch)
treefad38943c006382408de14036e7ae7f09809b510 /src/procman.h
parentbf08ac4e371b71488af5a52633ffdb045114906d (diff)
downloadmate-system-monitor-5b1f551af8a58ab768d3e49d24ebadf53f5db360.tar.bz2
mate-system-monitor-5b1f551af8a58ab768d3e49d24ebadf53f5db360.tar.xz
fix crash on systems with pid 0
fixes #118
Diffstat (limited to 'src/procman.h')
-rw-r--r--src/procman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/procman.h b/src/procman.h
index d3db85c..d7f1ce9 100644
--- a/src/procman.h
+++ b/src/procman.h
@@ -190,8 +190,8 @@ class ProcInfo
gchar *security_context;
- const guint pid;
- guint ppid;
+ const pid_t pid;
+ pid_t ppid;
guint uid;
// private: