mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
udev-util: add parentheses to make coverity silent
Fixes CID#1474365.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
f2f11dfbb7
commit
9fa31df62d
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user