summaryrefslogtreecommitdiff
path: root/src/path.c
diff options
context:
space:
mode:
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;
}