diff --git a/plugins/check_users.c b/plugins/check_users.c
index 9e182015e21c6c07e4df41303d1b1cfe910bc8d3..9f308bc3f9b76fe038e59c5f0fa7355434dfd264 100644 (file)
--- a/plugins/check_users.c
+++ b/plugins/check_users.c
{
int c;
- int option_index = 0;
- static struct option long_options[] = {
+ int option = 0;
+ static struct option longopts[] = {
{"critical", required_argument, 0, 'c'},
{"warning", required_argument, 0, 'w'},
{"version", no_argument, 0, 'V'},
usage ("\n");
while (1) {
- c = getopt_long (argc, argv, "+hVvc:w:", long_options, &option_index);
+ c = getopt_long (argc, argv, "+hVvc:w:", longopts, &option);
if (c == -1 || c == EOF || c == 1)
break;