Typo fixed

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@109 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2007-04-16 15:43:37 +00:00
parent 62b075c66d
commit 0ee6a983d0

View File

@@ -452,7 +452,7 @@ static struct scst_vdisk_thr *vdisk_init_thr_data(
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
res = kmem_cache_alloc(vdisk_thr_cachep, GFP_KERNEL);
if (res != NULL)
memset(thr, 0, sizeof(*thr));
memset(res, 0, sizeof(*res));
#else
res = kmem_cache_zalloc(vdisk_thr_cachep, GFP_KERNEL);
#endif