summaryrefslogtreecommitdiffstats
path: root/tools/test/h5import
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-08-28 15:54:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-08-28 15:54:54 (GMT)
commit27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda (patch)
treefe52ff7c826a75c89bab18078e146ea4a9de4b92 /tools/test/h5import
parent553b1a01f89265fc2f01c15687ddae40e6d1d81d (diff)
downloadhdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.zip
hdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.tar.gz
hdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.tar.bz2
HD prefix and whitespace
Diffstat (limited to 'tools/test/h5import')
-rw-r--r--tools/test/h5import/h5importtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/h5import/h5importtest.c b/tools/test/h5import/h5importtest.c
index 489bc01..bbb67b6 100644
--- a/tools/test/h5import/h5importtest.c
+++ b/tools/test/h5import/h5importtest.c
@@ -71,9 +71,9 @@ main(void)
volatile uint32_t ibyte=0x01234567;
/* 0 for big endian, 1 for little endian. */
if ((*((uint8_t*)(&ibyte))) == 0x67)
- strncpy(machine_order, "LE", 2);
+ HDstrncpy(machine_order, "LE", 2);
else
- strncpy(machine_order, "BE", 2);
+ HDstrncpy(machine_order, "BE", 2);
/*