diff options
Diffstat (limited to 'tools/src/h5perf')
-rw-r--r-- | tools/src/h5perf/pio_perf.c | 8 | ||||
-rw-r--r-- | tools/src/h5perf/sio_perf.c | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tools/src/h5perf/pio_perf.c b/tools/src/h5perf/pio_perf.c index c08b0d1..4682f2d 100644 --- a/tools/src/h5perf/pio_perf.c +++ b/tools/src/h5perf/pio_perf.c @@ -1306,7 +1306,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "pio_perf: invalid --api option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } if (*end == '\0') @@ -1354,7 +1354,7 @@ parse_command_line(int argc, const char *const *argv) for (j = 0; j < 10 && buf[j] != '\0'; ++j) if (!isdigit(buf[j])) { fprintf(stderr, "pio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } pio_debug_level = atoi(buf); @@ -1380,7 +1380,7 @@ parse_command_line(int argc, const char *const *argv) break; default: fprintf(stderr, "pio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } @@ -1524,7 +1524,7 @@ parse_size_directive(const char *size) break; default: fprintf(stderr, "Illegal size specifier '%c'\n", *endptr); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } diff --git a/tools/src/h5perf/sio_perf.c b/tools/src/h5perf/sio_perf.c index 2268237..3aad24e 100644 --- a/tools/src/h5perf/sio_perf.c +++ b/tools/src/h5perf/sio_perf.c @@ -873,7 +873,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "sio_perf: invalid --api option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } if (*end == '\0') @@ -937,7 +937,7 @@ parse_command_line(int argc, const char *const *argv) for (j = 0; j < 10 && buf[j] != '\0'; ++j) if (!HDisdigit(buf[j])) { fprintf(stderr, "sio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } sio_debug_level = atoi(buf); @@ -963,7 +963,7 @@ parse_command_line(int argc, const char *const *argv) break; default: fprintf(stderr, "sio_perf: invalid --debug option %s\n", buf); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } @@ -1035,7 +1035,7 @@ parse_command_line(int argc, const char *const *argv) } else { fprintf(stderr, "sio_perf: invalid --api option %s\n", H5_optarg); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } break; case 'w': @@ -1199,7 +1199,7 @@ parse_size_directive(const char *size) default: fprintf(stderr, "Illegal size specifier '%c'\n", *endptr); - HDexit(EXIT_FAILURE); + exit(EXIT_FAILURE); } } |