diff options
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index d6441f0a..3b4c822a 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -110,7 +110,7 @@ FILE *ps_input = NULL; | |||
110 | 110 | ||
111 | static int | 111 | static int |
112 | stat_exe (const pid_t pid, struct_stat_t *buf) { | 112 | stat_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); |