summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:09 +0900
committerEtsuro Fujita <efujita@postgresql.org>2022-05-02 16:45:09 +0900
commitd6ae041c87488af37bc1f8b30697c3df1c24e65f (patch)
tree6ac6e7f8cd70dd67df2964dcf84d9c4897cb6938 /src
parent58887d58c6addd2ed727d57520c6c4629d59f89a (diff)
Fix typo in comment.
Diffstat (limited to 'src')
-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 4eb6e83682e..31c14d97ae3 100644
--- a/src/backend/storage/ipc/latch.c
+++ b/src/backend/storage/ipc/latch.c
@@ -527,7 +527,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);