summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libsystemd-network/network-internal.c3
1 files changed, 2 insertions, 1 deletions
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;