aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <sschmidt@interhyp.de> 2012-11-07 19:13:20 +0100
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2013-08-18 12:59:57 +0200
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 467a1b4b..6a30ce00 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -48,7 +48,7 @@ const char *email = "nagiosplug-devel@lists.sourceforge.net";
typedef struct stat struct_stat_t;
#else
/* won't be used anyway */
-typedef struct { dev_t dev; ino_t ino; } struct_stat_t;
+typedef struct { dev_t st_dev; ino_t st_ino; } struct_stat_t;
#endif
int process_arguments (int, char **);