Move definition of maximum file name length from <syscall> to file.h

This commit is contained in:
Themis Demetriades
2024-11-08 15:41:35 +00:00
parent ed09e0b08e
commit b64434fb9d
3 changed files with 6 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ mkdir (const char *dir)
}
bool
readdir (int fd, char name[READDIR_MAX_LEN + 1])
readdir (int fd, char name[FNAME_MAX_LEN + 1])
{
return syscall2 (SYS_READDIR, fd, name);
}