From ab580103c7cc1707ed510a17604402ac129c00c8 Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Fri, 14 Jul 2017 15:37:05 +0200 Subject: [PATCH] csync_vio: Better log for stat errors --- csync/src/vio/csync_vio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csync/src/vio/csync_vio.c b/csync/src/vio/csync_vio.c index 3993af9a1..909117836 100644 --- a/csync/src/vio/csync_vio.c +++ b/csync/src/vio/csync_vio.c @@ -115,7 +115,7 @@ int csync_vio_stat(CSYNC *ctx, const char *uri, csync_vio_file_stat_t *buf) { case LOCAL_REPLICA: rc = csync_vio_local_stat(uri, buf); if (rc < 0) { - CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "Local stat failed, errno %d", errno); + CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "Local stat failed, errno %d for %s", errno, uri); } break; default: