Explorar el 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 hace 13 años
padre
commit
274f3ddee2
Se han modificado 1 ficheros con 1 adiciones y 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 **);