networkd: change message about missing Kind

If Kind is not specied, the message about "Invalid Kind" was misleading.
If Kind was specified in an invalid way, we get a message in the parsing
phase anyway. Reword the message to cover both cases better.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-09-10 17:44:50 +01:00
parent bac150e9d1
commit 881e6b5edf
1 changed files with 1 additions and 1 deletions

View File

@ -622,7 +622,7 @@ static int netdev_load_one(Manager *manager, const char *filename) {
return 0;
if (netdev_raw->kind == _NETDEV_KIND_INVALID) {
log_warning("NetDev with invalid Kind configured in %s. Ignoring", filename);
log_warning("NetDev has no Kind configured in %s. Ignoring", filename);
return 0;
}