615
615
 
            if(H5D_contig_is_space_alloc(&layout_src->storage)) {
616
616
 
                /* copy contiguous raw data */
617
617
 
                if(H5D_contig_copy(file_src, &layout_src->storage.u.contig, file_dst, &layout_dst->storage.u.contig, udata->src_dtype, cpy_info, dxpl_id) < 0)
618
618
 
                    HGOTO_ERROR(H5E_OHDR, H5E_CANTCOPY, NULL, "unable to copy contiguous storage")
619
619
 
            } /* end if */
620
620
 
            break;
621
621
 
622
622
 
        case H5D_CHUNKED:
623
623
 
            if(H5D_chunk_is_space_alloc(&layout_src->storage)) {
624
624
 
                /* Create chunked layout */
625
 
-
                if(H5D_chunk_copy(file_src, &layout_src->storage.u.chunk, &layout_src->u.chunk, file_dst, &layout_dst->storage.u.chunk, udata->src_space_extent, udata->src_dtype, udata->src_pline, cpy_info, dxpl_id) < 0)
 
625
+
                if(H5D_chunk_copy(file_src, &layout_src->storage.u.chunk, &layout_src->u.chunk, file_dst, &layout_dst->storage.u.chunk, udata->src_space_extent, udata->src_dtype, udata->common.src_pline, cpy_info, dxpl_id) < 0)
626
626
 
                    HGOTO_ERROR(H5E_OHDR, H5E_CANTCOPY, NULL, "unable to copy chunked storage")
627
627
 
            } /* end if */
628
628
 
            break;
629
629
 
630
630
 
        default:
631
631
 
            HGOTO_ERROR(H5E_OHDR, H5E_CANTLOAD, NULL, "Invalid layout class")
632
632
 
    } /* end switch */
633
633
 
634
634
 
    /* Freed by copy routine */
635
635
 
    udata->src_dtype = NULL;