diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-08-29 11:47:01 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-08-29 11:47:01 +0000 |
| commit | e459b442df9aaf1bd9740b8e64b74f4bb304309b (patch) | |
| tree | 0eee719238b6e8401368427f8907edae70f2b30e /sys | |
| parent | 1961e4302a04fcf581559676f73eb703e3076614 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linux/linux_stats.c | 2 | ||||
| -rw-r--r-- | sys/i386/linux/linux_stats.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/sys/i386/linux/linux_stats.c b/sys/i386/linux/linux_stats.c index b1fc1a4e5ee8..75008eb99f19 100644 --- a/sys/i386/linux/linux_stats.c +++ b/sys/i386/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; |
