[nagiosplug] check_procs: fix typo
"Nagios Plugin Development" <[email protected]> Sun, 18 Aug 2013 11:10:17 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug
Branch: master
Commit: 274f3ddee2431e27c5c48fcaf1aaf2ef3e40b266
Author: Sebastian Schmidt <[email protected]>
Committer: Holger Weiss <[email protected]>
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 = "[email protected]";
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 **);
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk