diff options
author | arcnmx <arcnmx@users.noreply.github.com> | 2016-04-20 10:46:18 -0400 |
---|---|---|
committer | arcnmx <arcnmx@users.noreply.github.com> | 2016-04-20 10:46:18 -0400 |
commit | 70362e2f75bc66e6e1277451b781e668440f647b (patch) | |
tree | 44595383232b19638c23136707fcff33c134a6ce | |
parent | b8e192bd4398efecf2069be0cba4501bdc771091 (diff) | |
download | nix-70362e2f75bc66e6e1277451b781e668440f647b.zip |
Last few constants
-rw-r--r-- | src/sys/stat.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sys/stat.rs b/src/sys/stat.rs index 50b96de0..076fe933 100644 --- a/src/sys/stat.rs +++ b/src/sys/stat.rs @@ -46,9 +46,9 @@ bitflags! { const S_IWOTH = libc::S_IWOTH, const S_IXOTH = libc::S_IXOTH, - const S_ISUID = 0o4000, - const S_ISGID = 0o2000, - const S_ISVTX = 0o1000, + const S_ISUID = libc::S_ISUID as mode_t, + const S_ISGID = libc::S_ISGID as mode_t, + const S_ISVTX = libc::S_ISVTX as mode_t, } } |