summaryrefslogtreecommitdiffstats
path: root/src/H5Doh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r--src/H5Doh.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c
index 8236ccd..bbf2cb2 100644
--- a/src/H5Doh.c
+++ b/src/H5Doh.c
@@ -294,9 +294,8 @@ H5O_dset_create(H5F_t *f, void *_crt_info, H5G_loc_t *obj_loc, hid_t dxpl_id)
HDassert(crt_info);
HDassert(obj_loc);
- /* Create the the dqtaset */
- if(NULL == (dset = H5D_create(f, crt_info->type_id, crt_info->space,
- crt_info->dcpl_id, crt_info->dapl_id, dxpl_id)))
+ /* Create the the dataset */
+ if(NULL == (dset = H5D_create(f, crt_info->type_id, crt_info->space, crt_info->dcpl_id, crt_info->dapl_id, dxpl_id)))
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to create dataset")
/* Set up the new dataset's location */