]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/sd-ipv4ll.c
tree-wide: do not return error codes as bool
[thirdparty/systemd.git] / src / libsystemd-network / sd-ipv4ll.c
index 0cb77ccf713cbc80e2d1255293e6c6d432b60995..f080c5c0a7f449978d978b3fb7d8ac661a947d54 100644 (file)
@@ -507,7 +507,7 @@ error:
 }
 
 bool sd_ipv4ll_is_running(sd_ipv4ll *ll) {
-        assert_return(ll, -EINVAL);
+        assert_return(ll, false);
 
         return !IN_SET(ll->state, IPV4LL_STATE_INIT, IPV4LL_STATE_STOPPED);
 }