Skip to content

Commit

Permalink
Merge pull request #72 from tatokis/add-f_type-statvfs
Browse files Browse the repository at this point in the history
Add f_type field to struct statvfs
  • Loading branch information
djberg96 authored Sep 29, 2024
2 parents 5253e1d + 1bd2f8c commit cab3a4b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/sys/unix/sys/filesystem/structs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ def self.linux64?
:f_unused, :int,
:f_flag, :ulong,
:f_namemax, :ulong,
:f_spare, [:int, 6]
:f_type, :uint,
:f_spare, [:int, 5]
)
else
layout(
Expand All @@ -238,7 +239,8 @@ def self.linux64?
:f_fsid, :ulong,
:f_flag, :ulong,
:f_namemax, :ulong,
:f_spare, [:int, 6]
:f_type, :uint,
:f_spare, [:int, 5]
)
end
end
Expand Down

0 comments on commit cab3a4b

Please sign in to comment.