summaryrefslogtreecommitdiff
path: root/src/sys/stat.rs
diff options
context:
space:
mode:
authorarcnmx <arcnmx@users.noreply.github.com>2016-04-20 10:46:18 -0400
committerarcnmx <arcnmx@users.noreply.github.com>2016-04-20 10:46:18 -0400
commit70362e2f75bc66e6e1277451b781e668440f647b (patch)
tree44595383232b19638c23136707fcff33c134a6ce /src/sys/stat.rs
parentb8e192bd4398efecf2069be0cba4501bdc771091 (diff)
downloadnix-70362e2f75bc66e6e1277451b781e668440f647b.zip
Last few constants
Diffstat (limited to 'src/sys/stat.rs')
-rw-r--r--src/sys/stat.rs6
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,
}
}