summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtsuro Fujita2022-05-02 07:45:00 +0000
committerEtsuro Fujita2022-05-02 07:45:00 +0000
commitd89f97e83efed4b2ac0a1803a1b6813c8277de73 (patch)
tree98b7019d00f87f8be81843a6213c428222be8c12
parented57cac84d1c5642737dab1e4c4b8cb4f0c4305f (diff)
Fix typo in comment.
-rw-r--r--src/backend/storage/ipc/latch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c
index 9dbb4f17cf..78c6a89271 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -689,7 +689,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);