@@ -435,7 +435,7 @@ dsa_create(int tranche_id)
435
435
*/
436
436
dsm_pin_segment (segment );
437
437
438
- /* Create a new DSA area with the controlobjet in this segment. */
438
+ /* Create a new DSA area with the controlobject in this segment. */
439
439
area = create_internal (dsm_segment_address (segment ),
440
440
DSA_INITIAL_SEGMENT_SIZE ,
441
441
tranche_id ,
@@ -1147,7 +1147,7 @@ create_internal(void *place, size_t size,
1147
1147
elog (ERROR ,"dsa_area space must be at least %zu, but %zu provided" ,
1148
1148
dsa_minimum_size (),size );
1149
1149
1150
- /* Now figure out how much space isusuable */
1150
+ /* Now figure out how much space isusable */
1151
1151
total_pages = size /FPM_PAGE_SIZE ;
1152
1152
metadata_bytes =
1153
1153
MAXALIGN (sizeof (dsa_area_control ))+
@@ -1672,7 +1672,7 @@ get_segment_by_index(dsa_area *area, dsa_segment_index index)
1672
1672
*/
1673
1673
handle = area -> control -> segment_handles [index ];
1674
1674
1675
- /* It's anerro to try to access an unused slot. */
1675
+ /* It's anerror to try to access an unused slot. */
1676
1676
if (handle == DSM_HANDLE_INVALID )
1677
1677
elog (ERROR ,
1678
1678
"dsa_area could not attach to a segment that has been freed" );