diff options
Diffstat (limited to 'source/common/getopt.c')
| -rw-r--r-- | source/common/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/common/getopt.c b/source/common/getopt.c index 276a83cd6081..df069728533f 100644 --- a/source/common/getopt.c +++ b/source/common/getopt.c @@ -145,7 +145,7 @@ AcpiGetopt( { return (ACPI_OPT_END); } - else if (ACPI_STRCMP (argv[AcpiGbl_Optind], "--") == 0) + else if (strcmp (argv[AcpiGbl_Optind], "--") == 0) { AcpiGbl_Optind++; return (ACPI_OPT_END); @@ -159,7 +159,7 @@ AcpiGetopt( /* Make sure that the option is legal */ if (CurrentChar == ':' || - (OptsPtr = ACPI_STRCHR (opts, CurrentChar)) == NULL) + (OptsPtr = strchr (opts, CurrentChar)) == NULL) { ACPI_OPTION_ERROR ("Illegal option: -", CurrentChar); |
