diff options
Diffstat (limited to 'src/fileops.c')
| -rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index b3715dc1a..f101cec32 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -61,7 +61,7 @@ int gitfo_exists(const char *path) off_t gitfo_size(git_file fd) { struct stat sb; - if (fstat(fd, &sb)) + if (gitfo_fstat(fd, &sb)) return git_os_error(); return sb.st_size; } |
