mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Merge pull request #5676 from lcheylus/openbsd-fix
uucore: remove useless conversion for features/fs on OpenBSD
This commit is contained in:
commit
c20f009da4
1 changed files with 1 additions and 2 deletions
|
@ -148,14 +148,13 @@ impl FileInformation {
|
|||
#[cfg(unix)]
|
||||
pub fn inode(&self) -> u64 {
|
||||
#[cfg(all(
|
||||
not(any(target_os = "freebsd", target_os = "netbsd", target_os = "openbsd")),
|
||||
not(any(target_os = "freebsd", target_os = "netbsd")),
|
||||
target_pointer_width = "64"
|
||||
))]
|
||||
return self.0.st_ino;
|
||||
#[cfg(any(
|
||||
target_os = "freebsd",
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd",
|
||||
not(target_pointer_width = "64")
|
||||
))]
|
||||
return self.0.st_ino.into();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue