* [PATCH] Tools: hv: log errors to syslog in kvp_set_ip_info
@ 2013-08-01 13:14 Olaf Hering
0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2013-08-01 13:14 UTC (permalink / raw)
To: kys, gregkh; +Cc: linux-kernel, Olaf Hering
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
tools/hv/hv_kvp_daemon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c
index b96eccc..6a31ca0 100644
--- a/tools/hv/hv_kvp_daemon.c
+++ b/tools/hv/hv_kvp_daemon.c
@@ -1361,7 +1361,8 @@ setval_done:
return 0;
setval_error:
- syslog(LOG_ERR, "Failed to write config file");
+ syslog(LOG_ERR, "Failed to write config file. error: %d %s",
+ errno, strerror(errno));
fclose(file);
return error;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-01 13:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-01 13:14 [PATCH] Tools: hv: log errors to syslog in kvp_set_ip_info Olaf Hering
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®