diff options
Diffstat (limited to 'extra/perror.c')
-rw-r--r-- | extra/perror.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/perror.c b/extra/perror.c index afbd734ce16..2daddb6636f 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -96,10 +96,11 @@ static void usage(void) static my_bool -get_one_option(int optid, const struct my_option *opt __attribute__((unused)), - char *argument __attribute__((unused))) +get_one_option(const struct my_option *opt, + char *argument __attribute__((unused)), + const char *filename __attribute__((unused))) { - switch (optid) { + switch (opt->id) { case 's': verbose=0; break; |