std.c: Fix dirent.name size for serenity

The null terminator is added to the buffer size.
This commit is contained in:
Linus Groh 2025-07-24 00:24:55 +01:00
parent bc8e1a74c5
commit ea90ec4d88

View File

@ -7147,7 +7147,7 @@ pub const dirent = switch (native_os) {
off: off_t,
reclen: c_ushort,
type: u8,
name: [256:0]u8,
name: [255:0]u8,
},
else => void,
};