weston/libweston
Sören Meier edef874696 libbacklight: Fix backlight never gets initialized
In 913d7c15f79da33aa97100286df5d8f88731e252 stricter error checking was
introduced to the strtol call, which broke reading backlight values.
Since every sysfs backlight file ends with a newline.

As noted in a comment in the previous MR to prevent damaged pointers
after calling asprintf, replace every asprintf call with str_printf.

Previous-MR: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/543

Signed-off-by: Sören Meier <soerenmeier@livgood.ch>
2022-04-11 08:38:00 +03:00
..
2020-01-29 09:49:41 +00:00
2022-03-03 17:00:15 -06:00
2022-03-03 17:00:15 -06:00
2022-03-03 17:00:15 -06:00
2021-07-31 15:28:20 +00:00
2022-03-15 11:32:46 +02:00
2020-01-29 09:49:41 +00:00
2021-02-24 10:01:17 -05:00