summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index d6441f0..3b4c822 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -110,7 +110,7 @@ FILE *ps_input = NULL;
110 110
111static int 111static int
112stat_exe (const pid_t pid, struct_stat_t *buf) { 112stat_exe (const pid_t pid, struct_stat_t *buf) {
113#if defined(HAVE_PROC_PID_EXE) && defined(HAVE_SYS_STAT_H) 113#ifdef HAVE_SYS_STAT_H
114 char *path; 114 char *path;
115 int ret; 115 int ret;
116 xasprintf(&path, "/proc/%d/exe", pid); 116 xasprintf(&path, "/proc/%d/exe", pid);