summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-10-21 22:23:58 +0000
committerderaadt <deraadt@openbsd.org>2005-10-21 22:23:58 +0000
commit8caa00198dda2bd674e02b51abfd4d1e9a76505d (patch)
tree4de46d71b3a4986838746848980b91eec850a79b
parenttidy up dmesg printing a bit, makes PCI hme only take 2 lines (diff)
downloadwireguard-openbsd-8caa00198dda2bd674e02b51abfd4d1e9a76505d.tar.xz
wireguard-openbsd-8caa00198dda2bd674e02b51abfd4d1e9a76505d.zip
bullshit test; pointed out by david
-rw-r--r--regress/lib/libutil/fmt_scaled/fmt_test.c2
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);