summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
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 /test/ohdr.c
parent553b1a01f89265fc2f01c15687ddae40e6d1d81d (diff)
downloadhdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.zip
hdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.tar.gz
hdf5-27af9a7922550a71a2e9d2b9f6a9f60aef0b4dda.tar.bz2
HD prefix and whitespace
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 146245f..669b1e0 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -470,8 +470,8 @@ test_unknown(unsigned bogus_id, char *filename, hid_t fapl)
/* create a different name for a local copy of the data file to be
opened with rd/wr file permissions in case build and test are
done in the source directory. */
- HDstrncpy(testfile, FILE_BOGUS, strlen(FILE_BOGUS));
- testfile[strlen(FILE_BOGUS)]='\0';
+ HDstrncpy(testfile, FILE_BOGUS, HDstrlen(FILE_BOGUS));
+ testfile[HDstrlen(FILE_BOGUS)]='\0';
HDstrncat(testfile, ".copy", 5);
/* Make a copy of the data file from svn. */