mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
networkd, build-sys: spelling fix
This commit is contained in:
parent
4e595329a9
commit
5ea846cc51
@ -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`"])
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user