diff options
-rw-r--r-- | src/linux/statx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/linux/statx.c b/src/linux/statx.c index 4616bff4..5f6dde92 100644 --- a/src/linux/statx.c +++ b/src/linux/statx.c @@ -21,6 +21,8 @@ int statx(int dirfd, const char *restrict path, int flags, unsigned mask, struct stx->stx_dev_major = major(st.st_dev); stx->stx_dev_minor = minor(st.st_dev); + stx->stx_rdev_major = major(st.st_rdev); + stx->stx_rdev_minor = minor(st.st_rdev); stx->stx_ino = st.st_ino; stx->stx_mode = st.st_mode; stx->stx_nlink = st.st_nlink; |