1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Record the correct error in the trace.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2013-04-01 09:57:46 +00:00
parent 159a400eb6
commit 6460981c3a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248968

View File

@ -251,7 +251,7 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
M_ZERO | M_NOWAIT);
if (newtag == NULL) {
CTR4(KTR_BUSDMA, "%s returned tag %p tag flags 0x%x error %d",
__func__, newtag, 0, error);
__func__, newtag, 0, ENOMEM);
return (ENOMEM);
}