summaryrefslogtreecommitdiffstats
path: root/hl/examples
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2022-01-18 22:24:50 (GMT)
committerGitHub <noreply@github.com>2022-01-18 22:24:50 (GMT)
commite72e64b87b77bb1ba32642528f19db1217869547 (patch)
tree584d17d6e929c839043e643d329fbdf290afc6aa /hl/examples
parent2bd950648e3f4f036c787f0f8a851ed9aa503d50 (diff)
downloadhdf5-e72e64b87b77bb1ba32642528f19db1217869547.zip
hdf5-e72e64b87b77bb1ba32642528f19db1217869547.tar.gz
hdf5-e72e64b87b77bb1ba32642528f19db1217869547.tar.bz2
Updated subfiling_VFD with Selection_io (#1352)
Merged selection_io branch into the subfiling branch.
Diffstat (limited to 'hl/examples')
-rw-r--r--hl/examples/ex_image1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/examples/ex_image1.c b/hl/examples/ex_image1.c
index ead1715..1294ab3 100644
--- a/hl/examples/ex_image1.c
+++ b/hl/examples/ex_image1.c
@@ -56,10 +56,10 @@ main(void)
H5IMmake_image_8bit(file_id, "image1", (hsize_t)WIDTH, (hsize_t)HEIGHT, buf);
/* make a palette */
- H5IMmake_palette(file_id, "pallete", pal_dims, pal);
+ H5IMmake_palette(file_id, "palette", pal_dims, pal);
/* attach the palette to the image */
- H5IMlink_palette(file_id, "image1", "pallete");
+ H5IMlink_palette(file_id, "image1", "palette");
/* close the file. */
H5Fclose(file_id);