diff options
author | Daniel Mack <github@zonque.org> | 2015-08-06 01:12:45 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-08-06 01:12:45 +0200 |
commit | 7c43bfecfa2d07374b6f805cc03c9571d1d3e1fc (patch) | |
tree | 9faacdee98f007aaaf0f14efd49326a6b583c99c /src/libsystemd-network/sd-ipv4ll.c | |
parent | c2f147382d8ad174dae0a9b60088807a07dc6415 (diff) | |
parent | 756775814cf69471f74ce853745bba69f2ba94ef (diff) |
Merge pull request #883 from phomes/bool_vs_error_codes
tree-wide: do not return error codes as bool
Diffstat (limited to 'src/libsystemd-network/sd-ipv4ll.c')
-rw-r--r-- | src/libsystemd-network/sd-ipv4ll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-ipv4ll.c b/src/libsystemd-network/sd-ipv4ll.c index 0cb77ccf71..f080c5c0a7 100644 --- a/src/libsystemd-network/sd-ipv4ll.c +++ b/src/libsystemd-network/sd-ipv4ll.c @@ -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); } |