ACK: [PATCH] acpi: s3: fix typo from 6b94bb6a4b13e
ivanhu
ivan.hu at canonical.com
Wed Sep 25 03:26:03 UTC 2019
On 9/18/19 5:33 PM, 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);
Acked-by: Ivan Hu <ivan.hu at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20190925/28da5edb/attachment.sig>
More information about the fwts-devel
mailing list