network: fix const qualifier (#4849)

Follow up for #4809.
This commit is contained in:
David Michael
2016-12-07 16:42:17 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent 5367354dae
commit 1aa68db1ae
+2 -1
View 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;