From d89f97e83efed4b2ac0a1803a1b6813c8277de73 Mon Sep 17 00:00:00 2001 From: Etsuro Fujita Date: Mon, 2 May 2022 16:45:00 +0900 Subject: [PATCH] Fix typo in comment. --- src/backend/storage/ipc/latch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c index 9dbb4f17cf8..78c6a892713 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);