summaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
authorRussell Belfer <arrbee@arrbee.com>2012-03-06 16:14:31 -0800
committerRussell Belfer <arrbee@arrbee.com>2012-03-06 16:27:13 -0800
commitae9e29fde7e7d1c0c3e95bdabbb5c96fc71b1c71 (patch)
tree65d8215f898fc30b579b72d815e6adc78823dd6c /src/path.c
parentcb8a79617b15e347f26d21cedde0f2b8670c1876 (diff)
downloadlibgit2-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/path.c')
-rw-r--r--src/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c
index 8d0cf288f..1ff257a98 100644
--- a/src/path.c
+++ b/src/path.c
@@ -499,7 +499,7 @@ int git_path_direach(
wd_len = path->size;
dir = opendir(path->ptr);
if (!dir) {
- giterr_set(GITERR_OS, "Failed to `opendir` %s: %s", path->ptr, strerror(errno));
+ giterr_set(GITERR_OS, "Failed to 'opendir' %s", path->ptr);
return -1;
}