Commit Diff


commit - 6efe6ea96a3b926e024566b15a6c0bb9f5ce0c79
commit + 5a6c61ae36e76ef40d6bac927cc3adea2fa54079
blob - 30ea991a38f0fc3b738b50b56dc2481f70a560ea
blob + 2ecf3b8dd41a4dc96f1546691ad57fa09b14470f
--- cvg/cvg.c
+++ cvg/cvg.c
@@ -435,7 +435,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, ==))