summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2020-04-17 11:29:28 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2020-04-18 09:02:18 +0300
commitee1965a9d8dc206a3b712071058fe0f7f5aee759 (patch)
treebcdc883955e2f90abb879e5221ff22d956a54e73
parentfc75f3820e0769d86fcb5ed48ad719eb7a969f63 (diff)
downloadsms-utils-ee1965a9d8dc206a3b712071058fe0f7f5aee759.tar.gz
sms-utils-ee1965a9d8dc206a3b712071058fe0f7f5aee759.tar.bz2
sms-utils-ee1965a9d8dc206a3b712071058fe0f7f5aee759.zip
MTX-3262 mpower: fix log output
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 8facbdf..138c87d 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -274,8 +274,8 @@ int device_lock(const char *path)
}
usleep(100000ul);//100ms
}
- log_error("failed to create %s: %m", lock_path);
}
+ log_error("failed to make lock %s: %m", lock_path);
free(lock_path);
return device_unlock(lock_fd);
}