aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_stats.c
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-08-29 11:47:01 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-08-29 11:47:01 +0000
commite459b442df9aaf1bd9740b8e64b74f4bb304309b (patch)
tree0eee719238b6e8401368427f8907edae70f2b30e /sys/compat/linux/linux_stats.c
parent1961e4302a04fcf581559676f73eb703e3076614 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_stats.c')
-rw-r--r--sys/compat/linux/linux_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c
index b1fc1a4e5ee8..75008eb99f19 100644
--- a/sys/compat/linux/linux_stats.c
+++ b/sys/compat/linux/linux_stats.c
@@ -73,7 +73,7 @@ newstat_copyout(struct stat *buf, void *ubuf)
{
struct linux_newstat tbuf;
- tbuf.stat_dev = uminor(buf->st_dev) | (umajor(buf->st_dev) << 10);
+ tbuf.stat_dev = uminor(buf->st_dev) | (umajor(buf->st_dev) << 8);
tbuf.stat_ino = buf->st_ino;
tbuf.stat_mode = buf->st_mode;
tbuf.stat_nlink = buf->st_nlink;