diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-06 16:14:31 -0800 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-06 16:27:13 -0800 |
commit | ae9e29fde7e7d1c0c3e95bdabbb5c96fc71b1c71 (patch) | |
tree | 65d8215f898fc30b579b72d815e6adc78823dd6c /src/filebuf.c | |
parent | cb8a79617b15e347f26d21cedde0f2b8670c1876 (diff) | |
download | libgit2-ae9e29fde7e7d1c0c3e95bdabbb5c96fc71b1c71.tar.gz |
Migrating diff to new error handling
Ended up migrating a bunch of upstream functions as well
including vector, attr_file, and odb in order to get this
to work right.
Diffstat (limited to 'src/filebuf.c')
-rw-r--r-- | src/filebuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filebuf.c b/src/filebuf.c index e6e68014a..8297b4fcf 100644 --- a/src/filebuf.c +++ b/src/filebuf.c @@ -45,8 +45,8 @@ static int lock_file(git_filebuf *file, int flags) source = p_open(file->path_original, O_RDONLY); if (source < 0) { giterr_set(GITERR_OS, - "Failed to open file '%s' for reading: %s", - file->path_original, strerror(errno)); + "Failed to open file '%s' for reading", + file->path_original); return -1; } |