Skip to content

Commit 5871c42

Browse files
gfphoenix78my-ship-it
authored andcommitted
Fix typo name for support_io_uring
1 parent 0648d43 commit 5871c42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/pax_storage/src/cpp/comm/fast_io.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727

2828
#include "fast_io.h"
29-
29+
#include <stdint.h>
3030
#include <unistd.h> // for pread
3131

3232
// uring_likely may not be defined in older liburing versions
@@ -42,7 +42,7 @@ namespace pax
4242
{
4343

4444
bool IOUringFastIO::available() {
45-
static char support_io_uring = 0;
45+
static int8_t support_io_uring = 0;
4646

4747
if (support_io_uring == 1) return true;
4848
if (support_io_uring == -1) return false;
@@ -142,4 +142,4 @@ std::pair<int, int> SyncFastIO::read(int fd, std::vector<IORequest> &request, st
142142
return {retcode, success_read};
143143
}
144144

145-
} // namespace pax
145+
} // namespace pax

0 commit comments

Comments
 (0)