diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:21:06 +0200 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-05-18 01:26:26 +0200 |
| commit | e172cf082e62aa421703080d0bccb7b8762c8bd4 (patch) | |
| tree | c19f7b1be056a9176d4e865f5be5c69a5c2912c6 /src/fileops.h | |
| parent | 2e2e97858de18abd43f7e59fcc6151510c6d3272 (diff) | |
| download | libgit2-e172cf082e62aa421703080d0bccb7b8762c8bd4.tar.gz | |
errors: Rename the generic return codes
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fileops.h b/src/fileops.h index be619d620..8dd4bb61a 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -139,7 +139,7 @@ extern int git_futils_mmap_ro( * @param path path to file to be opened. * @return * - 0 on success; - * - GIT_ENOTFOUND if not found; + * - GIT_NOTFOUND if not found; * - -1 on an unspecified OS related error. */ extern int git_futils_mmap_ro_file( @@ -159,7 +159,7 @@ extern void git_futils_mmap_free(git_map *map); * @param filename name of file to find in the home directory * @return * - 0 if found; - * - GIT_ENOTFOUND if not found; + * - GIT_NOTFOUND if not found; * - -1 on an unspecified OS related error. */ extern int git_futils_find_global_file(git_buf *path, const char *filename); @@ -171,7 +171,7 @@ extern int git_futils_find_global_file(git_buf *path, const char *filename); * @param filename name of file to find in the home directory * @return * - 0 if found; - * - GIT_ENOTFOUND if not found; + * - GIT_NOTFOUND if not found; * - -1 on an unspecified OS related error. */ extern int git_futils_find_system_file(git_buf *path, const char *filename); |
