Commit Diff


commit - 6a390967d72bf5e54eb669a0cef5ea548662bbbf
commit + 1494a06e4ce25cf1beafa90b6b1f98bdebf9e7e2
blob - 01fe4299c82e150fcd8020915536f48fc73bacbc
blob + e21a92523011eaf67089838f68f9e98950704b11
--- got/got.c
+++ got/got.c
@@ -463,7 +463,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, ==))