summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}