Commit ff160505 authored by Niels Möller's avatar Niels Möller
Browse files

(do_lsh_file_lock): Improved error message.

Rev: src/lock_file.c:1.5
parent 2436a885
......@@ -94,7 +94,7 @@ do_lsh_file_lock(struct lsh_file_lock_info *self, unsigned retries)
if (fd < 0)
{
if (errno != EEXIST)
werror("Could not create lock file `%S' (errno = %i): %z",
werror("Could not create lock file `%S' (errno = %i): %z\n",
self->lockname, errno, STRERROR(errno));
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment