mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09: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