Explorar o código

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.
Sebastian Schmidt %!s(int64=13) %!d(string=hai) anos
pai
achega
274f3ddee2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_procs.c

+ 1 - 1
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 **);