mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 11:14:21 +00:00
systemd: Also force base-10 for the strtol() call
This call is used to parse a time value expressed in usec's, which is always decimal. Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
375759e636
commit
a8d987d93c
|
@ -145,7 +145,7 @@ module_init(struct weston_compositor *compositor,
|
|||
return 0;
|
||||
|
||||
errno = 0;
|
||||
watchdog_time_conv = strtol(watchdog_time_env, &tail, 0);
|
||||
watchdog_time_conv = strtol(watchdog_time_env, &tail, 10);
|
||||
if ((errno != 0) || (*tail != '\0'))
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue