]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: fix const qualifier (#4849)
authorDavid Michael <fedora.dm0@gmail.com>
Wed, 7 Dec 2016 21:42:17 +0000 (13:42 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 7 Dec 2016 21:42:17 +0000 (16:42 -0500)
Follow up for #4809.

src/libsystemd-network/network-internal.c

index 0827995bb0889fcc0c314c1f448b00ae3fbc0cd4..092a1eabb07dd5eb79a6bdecc22b0dba4bc95161 100644 (file)
@@ -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;