diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/devfs/devstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devstat.c b/cpukit/libfs/src/devfs/devstat.c index 6c6ee3e6b1..7bfdfec00c 100644 --- a/cpukit/libfs/src/devfs/devstat.c +++ b/cpukit/libfs/src/devfs/devstat.c @@ -30,7 +30,7 @@ int devFS_stat( if (!the_dev) rtems_set_errno_and_return_minus_one( EFAULT ); - buf->st_dev = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor ); + buf->st_rdev = rtems_filesystem_make_dev_t( the_dev->major, the_dev->minor ); buf->st_mode = the_dev->mode; |