summaryrefslogtreecommitdiff
path: root/src/shared/net-condition.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-12 21:07:14 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-14 09:18:29 +0900
commit1a3caa49d757ed0b90f86d0f1c3eee55a1588e61 (patch)
treedeed0a1663b26e3a83816c789f5b6059e9caba51 /src/shared/net-condition.h
parent170e88c8e3f321590688e4cd68e829ef6abe7101 (diff)
downloadsystemd-1a3caa49d757ed0b90f86d0f1c3eee55a1588e61.tar.gz
udev,network: make link_get_type_string() return negative errno on failure
And make net_match_config() propagate the error.
Diffstat (limited to 'src/shared/net-condition.h')
-rw-r--r--src/shared/net-condition.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/net-condition.h b/src/shared/net-condition.h
index 8d85fc8a7f..d61537e5e3 100644
--- a/src/shared/net-condition.h
+++ b/src/shared/net-condition.h
@@ -26,7 +26,7 @@ typedef struct NetMatch {
void net_match_clear(NetMatch *match);
bool net_match_is_empty(const NetMatch *match);
-bool net_match_config(
+int net_match_config(
const NetMatch *match,
sd_device *device,
const struct ether_addr *mac,