mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 09:36:49 +02:00
Fix typo in comment.
This commit is contained in:
parent
01f2bc5af4
commit
09b684647a
@ -549,7 +549,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 New Issue
Block a user