diff options
Diffstat (limited to 'sys/fs/initramfs.c')
-rw-r--r-- | sys/fs/initramfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/initramfs.c b/sys/fs/initramfs.c index b7f0c71..e15c00d 100644 --- a/sys/fs/initramfs.c +++ b/sys/fs/initramfs.c @@ -193,8 +193,11 @@ getsize(const char *in) } static int -initramfs_init(struct fs_info *info) +initramfs_init(struct fs_info *info, struct vnode *source) { + if (source != NULL) + return -EINVAL; + initramfs = get_module("/boot/initramfs.tar", &initramfs_size); info->caps = FSCAP_FULLPATH; |