{"thread":{"id":"6241","subject":"[PATCH] Print a more accurate error message when we fail to create a lock file.","startedAt":"2007-01-06T03:14:04Z","lastAt":"2007-01-06T03:14:04Z","messageCount":1,"participants":["Steven Grimm"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"30955","messageId":"20070106031404.GA4863@midwinter.com","threadId":"6241","inReplyTo":null,"subject":"[PATCH] Print a more accurate error message when we fail to create a lock file.","fromName":"Steven Grimm","fromEmail":"koreth@midwinter.com","sentAt":"2007-01-06T03:14:04Z","receivedAt":"2007-01-06T03:14:04Z","isPatch":true,"sender":{"key":"koreth@midwinter.com","avatar":"https://gravatar.com/avatar/71b4d2e8b62f168bdc9e9205341159e3567003b4f9e2127c617c5fa0a1f5bad2?d=mp&s=160"},"body":"Signed-off-by: Steven Grimm <koreth@midwinter.com>\n---\n lockfile.c |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/lockfile.c b/lockfile.c\nindex 731bbf3..4824f4d 100644\n--- a/lockfile.c\n+++ b/lockfile.c\n@@ -49,7 +49,7 @@ int hold_lock_file_for_update(struct lock_file *lk,\nconst char *path, int die_on\n {\n \tint fd = lock_file(lk, path);\n \tif (fd < 0 && die_on_error)\n-\t\tdie(\"unable to create '%s': %s\", path, strerror(errno));\n+\t\tdie(\"unable to create '%s.lock': %s\", path, strerror(errno));\n \treturn fd;\n }\n \n-- \n1.5.0.rc0.g244a7\n"}]}