On 6/29/22 7:27 AM, Ammar Faizi wrote:
+ while (1) { + ssize_t ret; + + ret = __sys_read(fd, buf, sizeof(buf)); + if (ret < 0) { + page_size = -errno; + break; + }
Oops, this is wrong, I shouldn't use errno here, it should be:page_size = ret;
Should I resend? Or you can fix it? -- Ammar Faizi