Skip to content

Commit b81fe7c

Browse files
committed
path: pass string instead of git_buf to giterr_set
1 parent 90a934a commit b81fe7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,7 @@ int git_path_diriter_next(git_path_diriter *diriter)
13471347
return GIT_ITEROVER;
13481348

13491349
giterr_set(GITERR_OS,
1350-
"Could not read directory '%s'", diriter->path);
1350+
"Could not read directory '%s'", diriter->path.ptr);
13511351
return -1;
13521352
}
13531353
} while (skip_dot && git_path_is_dot_or_dotdot(de->d_name));

0 commit comments

Comments
 (0)