Просмотр исходного кода

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 лет назад
Родитель
Сommit
274f3ddee2
1 измененных файлов с 1 добавлено и 1 удалено
  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 **);