1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-11 05:17:44 +03:00

udev-util: add parentheses to make coverity silent

Fixes CID#1474365.
This commit is contained in:
Yu Watanabe 2022-02-18 14:06:31 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent f2f11dfbb7
commit 9fa31df62d

View File

@ -736,5 +736,5 @@ bool udev_available(void) {
if (cache >= 0)
return cache;
return (cache = path_is_read_only_fs("/sys/") <= 0);
return (cache = (path_is_read_only_fs("/sys/") <= 0));
}