mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Fix stupid typo-mistake, which lead to allocating only 4 bytes intead of sizeof(struct pci_pool).
svn path=/trunk/; revision=16726
This commit is contained in:
parent
38cd13eb67
commit
663bb3a53e
1 changed files with 2 additions and 2 deletions
|
@ -608,7 +608,7 @@ struct pci_pool *my_pci_pool_create(const char * name, struct pci_dev * pdev, si
|
|||
} else if (allocation < size)
|
||||
return 0;
|
||||
|
||||
retval = ExAllocatePool(NonPagedPool, sizeof(retval)); //FIXME: Should it be non-paged?
|
||||
retval = ExAllocatePool(NonPagedPool, sizeof(struct pci_pool)); // Non-paged because could be
|
||||
// pci_pool is rather big struct
|
||||
|
||||
// fill retval structure
|
||||
|
|
Loading…
Reference in a new issue