diff --git a/module/os/windows/zfs/zfs_vnops_windows_lib.c b/module/os/windows/zfs/zfs_vnops_windows_lib.c index 54e8238b4da6..e0259d12cd0d 100644 --- a/module/os/windows/zfs/zfs_vnops_windows_lib.c +++ b/module/os/windows/zfs/zfs_vnops_windows_lib.c @@ -2315,7 +2315,7 @@ zfs_send_notify_stream(zfsvfs_t *zfsvfs, char *name, int nameoffset, zmo = zfsvfs->z_vfs; UNICODE_STRING ustr; UNICODE_STRING ustream; - int wideoffset = nameoffset * sizeof (WCHAR); + int wideoffset = nameoffset / sizeof (WCHAR); if (name == NULL) return;