File tree 2 files changed +1
-6
lines changed 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -126,11 +126,6 @@ GIT_EXTERN(void) giterr_clear(void);
126
126
* This error message is stored in thread-local storage and only applies
127
127
* to the particular thread that this libgit2 call is made from.
128
128
*
129
- * NOTE: Passing the `error_class` as GITERR_OS has a special behavior: we
130
- * attempt to append the system default error message for the last OS error
131
- * that occurred and then clear the last error. The specific implementation
132
- * of looking up and clearing this last OS error will vary by platform.
133
- *
134
129
* @param error_class One of the `git_error_t` enum above describing the
135
130
* general subsystem that is responsible for the error.
136
131
* @param string The formatted error message to keep
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ int git__page_size(size_t *page_size)
17
17
{
18
18
long sc_page_size = sysconf (_SC_PAGE_SIZE );
19
19
if (sc_page_size < 0 ) {
20
- giterr_set_str (GITERR_OS , "Can 't determine system page size" );
20
+ giterr_set (GITERR_OS , "can 't determine system page size" );
21
21
return -1 ;
22
22
}
23
23
* page_size = (size_t ) sc_page_size ;
You can’t perform that action at this time.
0 commit comments