From 1aa68db1ae44e1c69a007eaf011099a00b367bdd Mon Sep 17 00:00:00 2001 From: David Michael Date: Wed, 7 Dec 2016 13:42:17 -0800 Subject: network: fix const qualifier (#4849) Follow up for #4809. --- src/libsystemd-network/network-internal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/libsystemd-network/network-internal.c b/src/libsystemd-network/network-internal.c index 0827995bb0..092a1eabb0 100644 --- a/src/libsystemd-network/network-internal.c +++ b/src/libsystemd-network/network-internal.c @@ -86,7 +86,8 @@ int net_get_unique_predictable_data(struct udev_device *device, uint64_t *result return 0; } -static bool net_condition_test_strv(char * const *raw_patterns, char *string) { +static bool net_condition_test_strv(char * const *raw_patterns, + const char *string) { if (strv_isempty(raw_patterns)) return true; -- cgit v1.2.3-54-g00ecf