Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
systemd
1048-udev-net_setup_link-add-a-bit-more-logging...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1048-udev-net_setup_link-add-a-bit-more-logging.patch of Package systemd
From 866ee3682213789f85b877700457fdca05695a0e Mon Sep 17 00:00:00 2001 From: Tom Gundersen <teg@jklm.no> Date: Thu, 3 Jul 2014 09:57:27 +0200 Subject: [PATCH] udev: net_setup_link - add a bit more logging --- src/udev/net/link-config.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git src/udev/net/link-config.c src/udev/net/link-config.c index 7a9d01b..b8650a6 100644 --- src/udev/net/link-config.c +++ src/udev/net/link-config.c @@ -92,14 +92,20 @@ static int link_config_ctx_connect(link_config_ctx *ctx) { if (ctx->ethtool_fd == -1) { r = ethtool_connect(&ctx->ethtool_fd); - if (r < 0) + if (r < 0) { + log_warning("link_config: could not connect to ethtool: %s", + strerror(-r)); return r; + } } if (!ctx->rtnl) { r = sd_rtnl_open(&ctx->rtnl, 0); - if (r < 0) + if (r < 0) { + log_warning("link_config: could not connect to rtnl: %s", + strerror(-r)); return r; + } } return 0; -- 1.7.9.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor