summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSebastian Schmidt <sschmidt@interhyp.de>2012-11-07 18:13:20 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-18 10:59:57 (GMT)
commit274f3ddee2431e27c5c48fcaf1aaf2ef3e40b266 (patch)
tree7e596191f9567df9c387fd5b3925384af5a1c8db /plugins
parentce7a99789ddb3c6047135eef87ebdb695673612d (diff)
downloadmonitoring-plugins-274f3ddee2431e27c5c48fcaf1aaf2ef3e40b266.tar.gz
check_procs: fix typo
Fix a typo in previous commit where st_ was missing in the mock struct_stat_t, causing check_procs.c to not compile without sys/stat.h.
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 467a1b4..6a30ce0 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -48,7 +48,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
48typedef struct stat struct_stat_t; 48typedef struct stat struct_stat_t;
49#else 49#else
50/* won't be used anyway */ 50/* won't be used anyway */
51typedef struct { dev_t dev; ino_t ino; } struct_stat_t; 51typedef struct { dev_t st_dev; ino_t st_ino; } struct_stat_t;
52#endif 52#endif
53 53
54int process_arguments (int, char **); 54int process_arguments (int, char **);