network: fix const qualifier (#4849)

Follow up for #4809.
This commit is contained in:
David Michael 2016-12-07 13:42:17 -08:00 committed by Zbigniew Jędrzejewski-Szmek
parent 5367354dae
commit 1aa68db1ae
1 changed files with 2 additions and 1 deletions

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;