mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
linux(4): Use variable name not type for sizeof() to calculate storage size.
MFC after: 2 weeks
This commit is contained in:
parent
49a5c0409b
commit
bd25bf092a
1 changed files with 1 additions and 1 deletions
|
|
@ -1001,7 +1001,7 @@ fetch_robust_entry(struct linux_robust_list **entry,
|
|||
l_ulong uentry;
|
||||
int error;
|
||||
|
||||
error = copyin((const void *)head, &uentry, sizeof(l_ulong));
|
||||
error = copyin((const void *)head, &uentry, sizeof(uentry));
|
||||
if (error != 0)
|
||||
return (EFAULT);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue