rktio: fix (consistent) typo in variable name

This commit is contained in:
Matthew Flatt 2020-07-16 07:07:12 -06:00
parent d2f8c83368
commit c18dcd72c7

View File

@ -303,8 +303,8 @@ intptr_t rktio_hash_string(const char *s);
/* On Mac OS, for example, `read` and `write` expect a value less than /* On Mac OS, for example, `read` and `write` expect a value less than
2GB. Use 32MB as a limit that is very large, but still likely small 2GB. Use 32MB as a limit that is very large, but still likely small
enough for all OSes. */ enough for all OSes. */
#define MAX_READ_WRITE_REQUESST_BYTES (32 * 1048576) #define MAX_READ_WRITE_REQUEST_BYTES (32 * 1048576)
#define LIMIT_REQUEST_SIZE(n) (((n) > MAX_READ_WRITE_REQUESST_BYTES) ? MAX_READ_WRITE_REQUESST_BYTES : (n)) #define LIMIT_REQUEST_SIZE(n) (((n) > MAX_READ_WRITE_REQUEST_BYTES) ? MAX_READ_WRITE_REQUEST_BYTES : (n))
void rktio_get_posix_error(rktio_t *rktio); void rktio_get_posix_error(rktio_t *rktio);
#define get_posix_error() rktio_get_posix_error(rktio) #define get_posix_error() rktio_get_posix_error(rktio)