projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed57cac
)
Fix typo in comment.
author
Etsuro Fujita
<efujita@postgresql.org>
Mon, 2 May 2022 07:45:00 +0000
(16:45 +0900)
committer
Etsuro Fujita
<efujita@postgresql.org>
Mon, 2 May 2022 07:45:00 +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 9dbb4f17cf8d2a1a1ef89585542aca40ebf5a25e..78c6a89271316eeae56c8cabf407e0b24ac50dda 100644
(file)
--- 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);