chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run: add a new "-t" mode for invoking a binary on an allocated TTY
[elogind.git]
/
src
/
network
/
networkd-wait-online-manager.c
diff --git
a/src/network/networkd-wait-online-manager.c
b/src/network/networkd-wait-online-manager.c
index 6e3ec6935da74c18954123f4af956803ac917f85..3f2b96688c7425fa23b16fddc559d2bca9935607 100644
(file)
--- a/
src/network/networkd-wait-online-manager.c
+++ b/
src/network/networkd-wait-online-manager.c
@@
-37,7
+37,7
@@
bool manager_all_configured(Manager *m) {
char **ifname;
bool one_ready = false;
char **ifname;
bool one_ready = false;
- /* wait for all the links given on the commandline to appear */
+ /* wait for all the links given on the command
line to appear */
STRV_FOREACH(ifname, m->interfaces) {
l = hashmap_get(m->links_by_name, *ifname);
if (!l) {
STRV_FOREACH(ifname, m->interfaces) {
l = hashmap_get(m->links_by_name, *ifname);
if (!l) {
@@
-134,7
+134,7
@@
static int manager_process_link(sd_rtnl *rtnl, sd_rtnl_message *mm, void *userda
return 0;
fail:
return 0;
fail:
- log_warning
("Failed to process RTNL link message: %s", strerror(-r)
);
+ log_warning
_errno(r, "Failed to process RTNL link message: %m"
);
return 0;
}
return 0;
}
@@
-211,7
+211,7
@@
static int on_network_event(sd_event_source *s, int fd, uint32_t revents, void *
HASHMAP_FOREACH(l, m->links, i) {
r = link_update_monitor(l);
if (r < 0)
HASHMAP_FOREACH(l, m->links, i) {
r = link_update_monitor(l);
if (r < 0)
- log_warning
("Failed to update monitor information for %i: %s", l->ifindex, strerror(-r)
);
+ log_warning
_errno(r, "Failed to update monitor information for %i: %m", l->ifindex
);
}
if (manager_all_configured(m))
}
if (manager_all_configured(m))