From: Alan Cox Date: Sat, 27 Dec 2014 00:39:56 +0000 (+0000) Subject: syscall: 32bytes per dirent needed X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7bc38fbd1de447bab88708621dedd9a19b49d01f;p=FUZIX.git syscall: 32bytes per dirent needed --- diff --git a/Kernel/syscall_fs.c b/Kernel/syscall_fs.c index 2d76dfb1..b0245fcb 100644 --- a/Kernel/syscall_fs.c +++ b/Kernel/syscall_fs.c @@ -455,7 +455,7 @@ uint16_t nbytes; */ int16_t _getdirent(void) { - if (nbytes < 16) { + if (nbytes < 32) { udata.u_error = ENOSPC; return -1; }