diff --git a/sys/fs/tmpfs/tmpfs_vnops.c b/sys/fs/tmpfs/tmpfs_vnops.c index 325b8d2789b..326a5132990 100644 --- a/sys/fs/tmpfs/tmpfs_vnops.c +++ b/sys/fs/tmpfs/tmpfs_vnops.c @@ -808,7 +808,7 @@ tmpfs_link(struct vop_link_args *v) error = 0; out: - return (0); + return (error); } /*