diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-21 22:23:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-21 22:23:59 +0000 |
commit | 91b3ec9daaace66b4f2f9ae13ed9962cf1562589 (patch) | |
tree | ed913ea3ba6fc411e25fd94873ac8f1d5da51c51 /regress/lib/libutil | |
parent | 8fbbc4b0a9bdd43d5eb7fb5f54fed9e1456ff87d (diff) |
bullshit test; pointed out by david
Diffstat (limited to 'regress/lib/libutil')
-rw-r--r-- | regress/lib/libutil/fmt_scaled/fmt_test.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/regress/lib/libutil/fmt_scaled/fmt_test.c b/regress/lib/libutil/fmt_scaled/fmt_test.c index 91629b12b17..82d84988c3b 100644 --- a/regress/lib/libutil/fmt_scaled/fmt_test.c +++ b/regress/lib/libutil/fmt_scaled/fmt_test.c @@ -187,7 +187,6 @@ struct { /* the test cases */ { "", 0, 0 }, /* boundary */ { "--1", -1, EINVAL }, { "++42", -1, EINVAL }, - { NULL, 0, EFAULT } /* bad input */ /* { "9223372036854775808", -9223372036854775808LL, 0 }, */ /* XXX */ }; # define SDATA_LENGTH (sizeof sdata/sizeof *sdata) @@ -197,7 +196,6 @@ print_errno(int e) { switch(e) { case EINVAL: printf("EINVAL"); break; - case EFAULT: printf("EFAULT"); break; case EDOM: printf("EDOM"); break; case ERANGE: printf("ERANGE"); break; default: printf("errno %d", errno); |