summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2020-04-17 10:47:52 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2020-04-18 09:02:18 +0300
commitfc75f3820e0769d86fcb5ed48ad719eb7a969f63 (patch)
tree56bd88b04139243c3fa5d7beb654435d281d8c0e
parent637610f24cb0f05ebe0edc7ab0c0be37ede2aee7 (diff)
downloadsms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.tar.gz
sms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.tar.bz2
sms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.zip
MTX-3262 mpower: restored log output
-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
}