File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -6970,11 +6970,11 @@ pub const utsname = switch (native_os) {
6970
6970
domainname : [256 :0 ]u8 ,
6971
6971
},
6972
6972
.macos = > extern struct {
6973
- sysname : [256 :0 ]u8 ,
6974
- nodename : [256 :0 ]u8 ,
6975
- release : [256 :0 ]u8 ,
6976
- version : [256 :0 ]u8 ,
6977
- machine : [256 :0 ]u8 ,
6973
+ sysname : [255 :0 ]u8 ,
6974
+ nodename : [255 :0 ]u8 ,
6975
+ release : [255 :0 ]u8 ,
6976
+ version : [255 :0 ]u8 ,
6977
+ machine : [255 :0 ]u8 ,
6978
6978
},
6979
6979
// https://github.com/SerenityOS/serenity/blob/d794ed1de7a46482272683f8dc4c858806390f29/Kernel/API/POSIX/sys/utsname.h#L17-L23
6980
6980
.serenity = > extern struct {
@@ -6984,7 +6984,7 @@ pub const utsname = switch (native_os) {
6984
6984
version : [UTSNAME_ENTRY_LEN :0 ]u8 ,
6985
6985
machine : [UTSNAME_ENTRY_LEN :0 ]u8 ,
6986
6986
6987
- const UTSNAME_ENTRY_LEN = 65 ;
6987
+ const UTSNAME_ENTRY_LEN = 64 ;
6988
6988
},
6989
6989
else = > void ,
6990
6990
};
You can’t perform that action at this time.
0 commit comments