summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 4de5c5b..c2a65ed 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -1332,7 +1332,7 @@ H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned line, hid
*/
/* Format the description */
- HDva_start(ap, fmt);
+ va_start(ap, fmt);
va_started = TRUE;
/* Use the vasprintf() routine, since it does what we're trying to do below */
@@ -1345,7 +1345,7 @@ H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned line, hid
done:
if (va_started)
- HDva_end(ap);
+ va_end(ap);
/* Memory was allocated with HDvasprintf so it needs to be freed
* with HDfree
*/