summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/network-internal.c
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2016-12-07 13:42:17 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-12-07 16:42:17 -0500
commit1aa68db1ae44e1c69a007eaf011099a00b367bdd (patch)
treee43e6601c27b9ef9e9302359508c42667aaca306 /src/libsystemd-network/network-internal.c
parent5367354dae90f0901ec3b96cbbc9f96bf4a71d11 (diff)
downloadsystemd-1aa68db1ae44e1c69a007eaf011099a00b367bdd.tar.gz
systemd-1aa68db1ae44e1c69a007eaf011099a00b367bdd.tar.bz2
systemd-1aa68db1ae44e1c69a007eaf011099a00b367bdd.zip
network: fix const qualifier (#4849)
Follow up for #4809.
Diffstat (limited to 'src/libsystemd-network/network-internal.c')
-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;