Commit 24c58f7a authored by Etsuro Fujita's avatar Etsuro Fujita

Fix typo in comment.

parent ebb79024
...@@ -690,7 +690,7 @@ CreateWaitEventSet(MemoryContext context, int nevents) ...@@ -690,7 +690,7 @@ CreateWaitEventSet(MemoryContext context, int nevents)
* Use MAXALIGN size/alignment to guarantee that later uses of memory are * 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 * aligned correctly. E.g. epoll_event might need 8 byte alignment on some
* platforms, but earlier allocations like WaitEventSet and WaitEvent * 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(WaitEventSet));
sz += MAXALIGN(sizeof(WaitEvent) * nevents); sz += MAXALIGN(sizeof(WaitEvent) * nevents);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment