summaryrefslogtreecommitdiff
path: root/tools/power/acpi/common/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/power/acpi/common/getopt.c')
-rw-r--r--tools/power/acpi/common/getopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/acpi/common/getopt.c b/tools/power/acpi/common/getopt.c
index 326e826a5d20..24966290ad1c 100644
--- a/tools/power/acpi/common/getopt.c
+++ b/tools/power/acpi/common/getopt.c
@@ -85,6 +85,7 @@ static int current_char_ptr = 1;
int acpi_getopt_argument(int argc, char **argv)
{
+
acpi_gbl_optind--;
current_char_ptr++;