diff options
author | Maksym Telychko <maksym.telychko@globallogic.com> | 2020-04-17 10:47:52 +0300 |
---|---|---|
committer | Maksym Telychko <maksym.telychko@globallogic.com> | 2020-04-18 09:02:18 +0300 |
commit | fc75f3820e0769d86fcb5ed48ad719eb7a969f63 (patch) | |
tree | 56bd88b04139243c3fa5d7beb654435d281d8c0e | |
parent | 637610f24cb0f05ebe0edc7ab0c0be37ede2aee7 (diff) | |
download | sms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.tar.gz sms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.tar.bz2 sms-utils-fc75f3820e0769d86fcb5ed48ad719eb7a969f63.zip |
MTX-3262 mpower: restored log output
-rw-r--r-- | src/utils.c | 1 |
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 } |