From 2af72a8544fe3d87431ba5c167fa2aa55327fe7d Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 1 Jan 2026 21:29:41 +0100 Subject: [PATCH] squash! fixup for __APPLE__ --- src/unix/fs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/unix/fs.c b/src/unix/fs.c index 2190c6bda..261c3868d 100644 --- a/src/unix/fs.c +++ b/src/unix/fs.c @@ -706,12 +706,16 @@ static int uv__fs_statfs(uv_fs_t* req) { stat_fs->f_type = buf.f_type; #endif stat_fs->f_bsize = buf.f_bsize; - stat_fs->f_frsize = buf.f_frsize; stat_fs->f_blocks = buf.f_blocks; stat_fs->f_bfree = buf.f_bfree; stat_fs->f_bavail = buf.f_bavail; stat_fs->f_files = buf.f_files; stat_fs->f_ffree = buf.f_ffree; +#if defined(__APPLE__) + stat_fs->f_frsize = buf.f_bsize; +#else + stat_fs->f_frsize = buf.f_frsize; +#endif req->ptr = stat_fs; return 0; }