Skip to content

Commit

Permalink
builder: fix a compilation failure on macos
Browse files Browse the repository at this point in the history
Fix a compilation failure on macos.

Signed-off-by: Jiang Liu <[email protected]>
  • Loading branch information
jiangliu committed May 27, 2023
1 parent f055193 commit ccdd579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rafs/src/builder/stargz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl TocEntry {
mode |= libc::S_IFIFO;
}

self.mode & !libc::S_IFMT | mode as u32
self.mode & !libc::S_IFMT as u32 | mode as u32
}

/// Get real device id associated with the `TocEntry`.
Expand Down

0 comments on commit ccdd579

Please sign in to comment.