summaryrefslogtreecommitdiffstats
path: root/bin/make_err
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-17 01:17:37 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-17 01:17:37 (GMT)
commit44dc4134b7d8542bdf9b25ad9eeea418ad75b5e1 (patch)
tree3d6e4061bfe225773d8d958bd5a7d3e917818f35 /bin/make_err
parent63b538ab781d76aa1261d980674c871c944890d3 (diff)
downloadhdf5-44dc4134b7d8542bdf9b25ad9eeea418ad75b5e1.zip
hdf5-44dc4134b7d8542bdf9b25ad9eeea418ad75b5e1.tar.gz
hdf5-44dc4134b7d8542bdf9b25ad9eeea418ad75b5e1.tar.bz2
Brought H5E package in line with develop.
Diffstat (limited to 'bin/make_err')
-rwxr-xr-xbin/make_err4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/make_err b/bin/make_err
index a6461d4..623c1b6 100755
--- a/bin/make_err
+++ b/bin/make_err
@@ -245,7 +245,7 @@ sub create_init ($) {
print HEADER "/*********************/\n\n";
foreach $name (keys %major) {
print HEADER " "x(0*$indent),"HDassert(${name}_g==(-1));\n";
- print HEADER " "x(0*$indent),"if((msg = H5E_create_msg(cls, H5E_MAJOR, \"${major{$name}}\"))==NULL)\n";
+ print HEADER " "x(0*$indent),"if((msg = H5E__create_msg(cls, H5E_MAJOR, \"${major{$name}}\"))==NULL)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, \"error message initialization failed\")\n";
print HEADER " "x(0*$indent),"if((${name}_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, \"can't register error message\")\n";
@@ -261,7 +261,7 @@ sub create_init ($) {
# Iterate over all the minor errors in each section
for $name ( @{$section_list{$sect_name}}) {
print HEADER " "x(0*$indent),"HDassert(${name}_g==(-1));\n";
- print HEADER " "x(0*$indent),"if((msg = H5E_create_msg(cls, H5E_MINOR, \"${minor{$name}}\"))==NULL)\n";
+ print HEADER " "x(0*$indent),"if((msg = H5E__create_msg(cls, H5E_MINOR, \"${minor{$name}}\"))==NULL)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTINIT, FAIL, \"error message initialization failed\")\n";
print HEADER " "x(0*$indent),"if((${name}_g = H5I_register(H5I_ERROR_MSG, msg, FALSE))<0)\n";
print HEADER " "x(1*$indent),"HGOTO_ERROR(H5E_ERROR, H5E_CANTREGISTER, FAIL, \"can't register error message\")\n";