mirror of
https://github.com/postgres/postgres.git
synced 2026-03-13 22:28:01 -04:00
Fix typo in comment.
This commit is contained in:
parent
d9cede2c3b
commit
d85f2bfa09
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ CreateWaitEventSet(MemoryContext context, int nevents)
|
|||
* Use MAXALIGN size/alignment to guarantee that later uses of memory are
|
||||
* aligned correctly. E.g. epoll_event might need 8 byte alignment on some
|
||||
* platforms, but earlier allocations like WaitEventSet and WaitEvent
|
||||
* might not sized to guarantee that when purely using sizeof().
|
||||
* might not be sized to guarantee that when purely using sizeof().
|
||||
*/
|
||||
sz += MAXALIGN(sizeof(WaitEventSet));
|
||||
sz += MAXALIGN(sizeof(WaitEvent) * nevents);
|
||||
|
|
|
|||
Loading…
Reference in a new issue