From f9afcbff02a230af85e646ef3ae166ae61b04ca1 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 10 Apr 2025 13:23:33 +0300 Subject: [PATCH] libc/compat-ino64.h: rename st_padding0 This is a direct fix for stable/14. --- lib/libc/sys/compat-ino64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/sys/compat-ino64.h b/lib/libc/sys/compat-ino64.h index ded3c6c6412..ea79dfe8c34 100644 --- a/lib/libc/sys/compat-ino64.h +++ b/lib/libc/sys/compat-ino64.h @@ -65,7 +65,7 @@ __stat11_to_stat(const struct freebsd11_stat *sb11, struct stat *sb) sb->st_blksize = sb11->st_blksize; sb->st_flags = sb11->st_flags; sb->st_gen = sb11->st_gen; - sb->st_padding0 = 0; + sb->st_bsdflags = 0; sb->st_padding1 = 0; memset(sb->st_spare, 0, sizeof(sb->st_spare)); }