projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58887d5
)
Fix typo in comment.
author
Etsuro Fujita
<
[email protected]
>
Mon, 2 May 2022 07:45:09 +0000
(16:45 +0900)
committer
Etsuro Fujita
<
[email protected]
>
Mon, 2 May 2022 07:45:09 +0000
(16:45 +0900)
src/backend/storage/ipc/latch.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/ipc/latch.c
b/src/backend/storage/ipc/latch.c
index 4eb6e83682e7e20a52bd1b848715464cc5a7711e..31c14d97ae3b4fafda165ba28f6abf21ee0bc4c7 100644
(file)
--- 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);