int status;
while ((status = sys_readdir(fd, &ent)) == 1) {
if (ent.d_type == DT_DIR) {
int status;
while ((status = sys_readdir(fd, &ent)) == 1) {
if (ent.d_type == DT_DIR) {
- ptr_t p = mmap(NULL, 2048, 0, 0, fd, 0);
+ void* p = mmap(NULL, 2048, 0, 0, fd, 0);