ACK: [PATCH] acpi: s3: fix typo from 6b94bb6a4b13e
Colin Ian King
colin.king at canonical.com
Tue Sep 24 15:16:49 UTC 2019
On 18/09/2019 10:33, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
> src/acpi/s3/s3.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/acpi/s3/s3.c b/src/acpi/s3/s3.c
> index 3a57825a..6664db2c 100644
> --- a/src/acpi/s3/s3.c
> +++ b/src/acpi/s3/s3.c
> @@ -32,7 +32,7 @@
>
> #define PM_SUSPEND_PMUTILS "pm-suspend"
> #define PM_SUSPEND_HYBRID_PMUTILS "pm-suspend-hybrid"
> -#define PM_SUPEND_PATH "/sys/power/mem_sleep"
> +#define PM_SUSPEND_PATH "/sys/power/mem_sleep"
>
> static char sleep_type[7];
>
> @@ -65,7 +65,7 @@ static int s3_init(fwts_framework *fw)
> return FWTS_ERROR;
> }
>
> - str = fwts_get(PM_SUPEND_PATH);
> + str = fwts_get(PM_SUSPEND_PATH);
> if (str && strstr(str, "[s2idle]")) {
> strncpy(sleep_type, "s2idle", strlen("s2idle") + 1);
> free(str);
>
Good catch!
Acked-by: Colin Ian King <colin.king at canonical.com>
More information about the fwts-devel
mailing list