From: Etsuro Fujita Date: Mon, 2 May 2022 07:45:09 +0000 (+0900) Subject: Fix typo in comment. X-Git-Tag: REL_10_21~18 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=d6ae041c87488af37bc1f8b30697c3df1c24e65f;p=postgresql.git Fix typo in comment. --- 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);