projects
/
platform
/
upstream
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.13.3
[platform/upstream/git.git]
/
editor.c
diff --git
a/editor.c
b/editor.c
index
01c644c
..
7519ede
100644
(file)
--- a/
editor.c
+++ b/
editor.c
@@
-63,7
+63,6
@@
int launch_editor(const char *path, struct strbuf *buffer, const char *const *en
if (!buffer)
return 0;
if (strbuf_read_file(buffer, path, 0) < 0)
- return error("could not read file '%s': %s",
- path, strerror(errno));
+ return error_errno("could not read file '%s'", path);
return 0;
}