[nagiosplug] check_procs: fix typo
Nagios Plugin Development
nagios-plugins at users.sourceforge.net
Sun Aug 18 13:10:17 CEST 2013
Module: nagiosplug
Branch: master
Commit: 274f3ddee2431e27c5c48fcaf1aaf2ef3e40b266
Author: Sebastian Schmidt <sschmidt at interhyp.de>
Committer: Holger Weiss <holger at zedat.fu-berlin.de>
Date: Wed Nov 7 19:13:20 2012 +0100
URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=274f3dd
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.
---
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 467a1b4..6a30ce0 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -48,7 +48,7 @@ const char *email = "nagiosplug-devel at 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 **);
More information about the Commits
mailing list