From 7bc38fbd1de447bab88708621dedd9a19b49d01f Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 27 Dec 2014 00:39:56 +0000 Subject: [PATCH] syscall: 32bytes per dirent needed --- Kernel/syscall_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1