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:
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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user