summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index a223462..8facbdf 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -268,6 +268,7 @@ int device_lock(const char *path)
} else if (errno != EWOULDBLOCK) {
break;
}
+ log_error("%i number of trying to create %s: %m", num_try+1, lock_path);
if (num_try++>=MAX_TRY) {
break; //something locks device too long
}