summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-01-04 01:17:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-01-04 01:17:47 +0000
commit528b44b5d595b932a5dd04bf31a45f2c6f03ebcd (patch)
tree0bf686c75bbe67b061e56aa6ac7fc7954fbf80cd /sys
parentd2bf9720f54c59bb872fe05f29bd558c50af7939 (diff)
Standardize on EFBIG for bus_dma returning failure if caller is too griddy.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/sparc64/machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c
index af88ec22202..c7474426eb9 100644
--- a/sys/arch/sparc64/sparc64/machdep.c
+++ b/sys/arch/sparc64/sparc64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.27 2001/12/04 23:22:42 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.28 2002/01/04 01:17:46 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */
/*-
@@ -1268,7 +1268,7 @@ _bus_dmamap_load_mbuf(t, map, m, flags)
/* Exceeded the size of our dmamap */
map->_dm_type = 0;
map->_dm_source = NULL;
- return E2BIG;
+ return (EFBIG);
}
}
@@ -1337,7 +1337,7 @@ _bus_dmamap_load_uio(t, map, uio, flags)
/* Exceeded the size of our dmamap */
map->_dm_type = 0;
map->_dm_source = NULL;
- return (E2BIG);
+ return (EFBIG);
}
}