Commit Diff


commit - 59530ea7aaf19f809c3dbcec5e2d9e039a54349f
commit + b40793acff6223f04e5b673fa5c6d488f7b617ea
blob - 8a1ecb5cd3fe997af7923d46e0c1fface7a93d4d
blob + 664cbec303c1a130e85585f761c60b75c6db216a
--- got/got.c
+++ got/got.c
@@ -462,7 +462,7 @@ edit_logmsg(char **logmsg, const char *editor, const c
 	}
 
 	if (stat(logmsg_path, &st2) == -1)
-		return got_error_from_errno("stat");
+		return got_error_from_errno2("stat", logmsg_path);
 
 	if (require_modification && st.st_size == st2.st_size &&
 	    timespeccmp(&st.st_mtim, &st2.st_mtim, ==))