diff options
Diffstat (limited to 'cpukit/libfs/src/devfs/devfs_init.c')
-rw-r--r-- | cpukit/libfs/src/devfs/devfs_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/devfs/devfs_init.c b/cpukit/libfs/src/devfs/devfs_init.c index e489781f63..7ec3d9f9be 100644 --- a/cpukit/libfs/src/devfs/devfs_init.c +++ b/cpukit/libfs/src/devfs/devfs_init.c @@ -56,9 +56,9 @@ int devFS_initialize( int rv = 0; if (data != NULL) { + mt_entry->ops = &devFS_ops; mt_entry->immutable_fs_info = data; mt_entry->mt_fs_root->location.handlers = &devFS_file_handlers; - mt_entry->mt_fs_root->location.ops = &devFS_ops; } else { errno = EINVAL; rv = -1; |