networkd, build-sys: spelling fix

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-05-11 08:34:26 -04:00
parent 4e595329a9
commit 5ea846cc51
2 changed files with 3 additions and 3 deletions

View File

@ -843,7 +843,7 @@ AC_SUBST(NTP_SERVERS)
AC_ARG_WITH(time-epoch,
AS_HELP_STRING([--with-time-epoch=SECONDS],
[TIme epoch for time clients]),
[Time epoch for time clients]),
[TIME_EPOCH="$withval"],
[TIME_EPOCH="`stat -c %Y ${srcdir}/NEWS 2>/dev/null || echo 0`"])

View File

@ -1710,12 +1710,12 @@ int link_rtnl_process_address(sd_rtnl *rtnl, sd_rtnl_message *message, void *use
r = sd_rtnl_message_addr_get_ifindex(message, &ifindex);
if (r < 0 || ifindex <= 0) {
log_warning("rtnl: received address message without valid ifindix, ignoring");
log_warning("rtnl: received address message without valid ifindex, ignoring");
return 0;
} else {
r = link_get(m, ifindex, &link);
if (r < 0 || !link) {
log_warning("rtnl: received address for non-existing link, ignoring");
log_warning("rtnl: received address for a nonexistent link, ignoring");
return 0;
}
}