summaryrefslogtreecommitdiff
path: root/vcs-svn/sliding_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'vcs-svn/sliding_window.c')
-rw-r--r--vcs-svn/sliding_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcs-svn/sliding_window.c b/vcs-svn/sliding_window.c
index f11d490995..06d273c9e8 100644
--- a/vcs-svn/sliding_window.c
+++ b/vcs-svn/sliding_window.c
@@ -12,7 +12,7 @@ static int input_error(struct line_buffer *file)
{
if (!buffer_ferror(file))
return error("delta preimage ends early");
- return error("cannot read delta preimage: %s", strerror(errno));
+ return error_errno("cannot read delta preimage");
}
static int skip_or_whine(struct line_buffer *file, off_t gap)