Skip to content

Commit 70362e2

Browse files
committed
Last few constants
1 parent b8e192b commit 70362e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sys/stat.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ bitflags! {
4646
const S_IWOTH = libc::S_IWOTH,
4747
const S_IXOTH = libc::S_IXOTH,
4848

49-
const S_ISUID = 0o4000,
50-
const S_ISGID = 0o2000,
51-
const S_ISVTX = 0o1000,
49+
const S_ISUID = libc::S_ISUID as mode_t,
50+
const S_ISGID = libc::S_ISGID as mode_t,
51+
const S_ISVTX = libc::S_ISVTX as mode_t,
5252
}
5353
}
5454

0 commit comments

Comments
 (0)