summaryrefslogtreecommitdiffstats
path: root/src/H5F.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-06-19 21:49:01 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-06-19 21:49:01 (GMT)
commit1fdcafdc893c22fd61b85b22c4b53c76a9090fd1 (patch)
tree5593a43ac8c9e363bdb31b45b7f159da9e42a4e1 /src/H5F.c
parent09676ded1f6e9480e5154c8dcdf6a0226755d28b (diff)
downloadhdf5-1fdcafdc893c22fd61b85b22c4b53c76a9090fd1.zip
hdf5-1fdcafdc893c22fd61b85b22c4b53c76a9090fd1.tar.gz
hdf5-1fdcafdc893c22fd61b85b22c4b53c76a9090fd1.tar.bz2
[svn-r4022] Purpose:
Code Cleanup Description: Changed POSIX function calls to the HD* way of doing things. Checked with checkposix and tested on Linux. Platforms tested: Linux
Diffstat (limited to 'src/H5F.c')
-rw-r--r--src/H5F.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5F.c b/src/H5F.c
index 9389e65..36f9506 100644
--- a/src/H5F.c
+++ b/src/H5F.c
@@ -1236,7 +1236,7 @@ H5F_open(const char *name, uintn flags, hid_t fcpl_id, hid_t fapl_id)
UINT32DECODE(p, driver_size);
/* Driver name and/or version */
- strncpy(driver_name, (const char *)p, 8);
+ HDstrncpy(driver_name, (const char *)p, 8);
driver_name[8] = '\0';
/* Read driver information and decode */