mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
sd-daemon: fix incorrect variable access
This commit is contained in:
parent
ac1a87b9f2
commit
56dc9aec21
Notes:
Lennart Poettering
2014-03-25 04:10:39 +01:00
Backport: bugfix
@ -517,7 +517,7 @@ _public_ int sd_watchdog_enabled(int unset_environment, uint64_t *usec) {
|
||||
r = -errno;
|
||||
goto finish;
|
||||
}
|
||||
if (!p || p == e || *p || l <= 0) {
|
||||
if (!p || p == e || *p || ll <= 0) {
|
||||
r = -EINVAL;
|
||||
goto finish;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user