summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/h5import/h5import.c4
-rwxr-xr-xtools/h5import/h5importtest.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index 933754e..84b2c7d 100755
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -190,10 +190,10 @@ int main(int argc, char *argv[])
if (process(&opt) == -1)
goto err;
- return(0);
+ return(EXIT_SUCCESS);
err:
(void) fprintf(stderr, err4);
- return(-1);
+ return(EXIT_FAILURE);
}
static int
diff --git a/tools/h5import/h5importtest.c b/tools/h5import/h5importtest.c
index dd1a2be..9c839a3 100755
--- a/tools/h5import/h5importtest.c
+++ b/tools/h5import/h5importtest.c
@@ -370,6 +370,6 @@ main(void)
- return (0);
+ return (EXIT_SUCCESS);
}