rem: if (count <= 0)
add: if (count <= 0) { if (count < 0) errno = count;
context: fs_read_attr_dir(DIR *dir){	ssize_t count = sys_read_dir(dir->fd, &dir->ent, BUFFER_SIZE, 1);	if (count <= 0)		return NULL;	return &dir->ent;}