Use _size
parent
0bee83a8c8
commit
d0956339e3
|
@ -159,7 +159,7 @@ static __inline__ void *kcalloc(size_t nmemb, size_t size, int flags)
|
|||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
|
||||
#define vmalloc_user(_size) ({void * tmp = vmalloc(_size); \
|
||||
if (tmp) memset(tmp, 0, size); \
|
||||
if (tmp) memset(tmp, 0, _size); \
|
||||
(tmp);})
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue