Przeglądaj źródła

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 13 lat temu
rodzic
commit
274f3ddee2
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 typedef struct stat struct_stat_t;
 #else
 #else
 /* won't be used anyway */
 /* 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
 #endif
 
 
 int process_arguments (int, char **);
 int process_arguments (int, char **);