summaryrefslogtreecommitdiffstats
path: root/tools/h5jam/h5jamgentest.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:39:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:39:17 (GMT)
commit5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58 (patch)
tree3cf313ebed818a6f4d1fc6c068be17dc0b0f4eec /tools/h5jam/h5jamgentest.c
parent944f2cdf8d7f3d665ac9e72fe2267826e8abb047 (diff)
downloadhdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.zip
hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.gz
hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.bz2
[svn-r21980] Correct HD prefix in tools for *alloc
Checked for HD support.
Diffstat (limited to 'tools/h5jam/h5jamgentest.c')
-rw-r--r--tools/h5jam/h5jamgentest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5jam/h5jamgentest.c b/tools/h5jam/h5jamgentest.c
index c64053c..ca3d86c 100644
--- a/tools/h5jam/h5jamgentest.c
+++ b/tools/h5jam/h5jamgentest.c
@@ -335,7 +335,7 @@ create_textfile(const char *name, size_t size)
fd = HDcreat(name,0777);
HDassert(fd >= 0);
- buf = calloc(size, (size_t)1);
+ buf = HDcalloc(size, (size_t)1);
HDassert(buf);
/* fill buf with pattern */
@@ -363,7 +363,7 @@ create_binfile(char *name, off_t size)
fd = creat(name,0777);
HDassert(fd >= 0);
- buf = calloc(size,1);
+ buf = HDcalloc(size,1);
HDassert(buf);
/* fill buf with pattern */