summaryrefslogtreecommitdiff
path: root/src/procman.h
diff options
context:
space:
mode:
authorAlexander Pyhalov <[email protected]>2018-05-04 16:28:18 +0300
committermonsta <[email protected]>2018-05-07 22:16:20 +0300
commit103d530bddce8675b1f3ccc75cfa94527e6c73c5 (patch)
tree74a4b7a0bdfcfce6e22629dbd5c93a2715658b1c /src/procman.h
parent6e6046af8bff8c7e4f5eab1998fc71ef4e3d89d1 (diff)
downloadmate-system-monitor-103d530bddce8675b1f3ccc75cfa94527e6c73c5.tar.bz2
mate-system-monitor-103d530bddce8675b1f3ccc75cfa94527e6c73c5.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: