Commit Diff


commit - c68571e2c407e42a8da06182caf11ae7c49b509e
commit + 5541355f708ebb0d883dc03a3a2a29563a6df2c9
blob - 1dd53650ebb50dad4e101a51919d910d20538671
blob + 95de495e64d65f7ef5087c0ae6d7afebcfafd007
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -433,7 +433,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, ==))