summaryrefslogtreecommitdiffstats
path: root/test/twriteorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r--test/twriteorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c
index 5f47a95..9026bd1 100644
--- a/test/twriteorder.c
+++ b/test/twriteorder.c
@@ -139,21 +139,21 @@ parse_option(int argc, char *const argv[])
HDexit(EXIT_SUCCESS);
break;
case 'b': /* number of planes to write/read */
- if ((blocksize_g = HDatoi(optarg)) <= 0) {
+ if ((blocksize_g = atoi(optarg)) <= 0) {
fprintf(stderr, "bad blocksize %s, must be a positive integer\n", optarg);
usage(progname_g);
Hgoto_error(-1);
};
break;
case 'n': /* number of planes to write/read */
- if ((nlinkedblock_g = HDatoi(optarg)) < 2) {
+ if ((nlinkedblock_g = atoi(optarg)) < 2) {
fprintf(stderr, "bad number of linked blocks %s, must be greater than 1.\n", optarg);
usage(progname_g);
Hgoto_error(-1);
};
break;
case 'p': /* number of planes to write/read */
- if ((part_size_g = HDatoi(optarg)) <= 0) {
+ if ((part_size_g = atoi(optarg)) <= 0) {
fprintf(stderr, "bad partition size %s, must be a positive integer\n", optarg);
usage(progname_g);
Hgoto_error(-1);