svn commit: r249076 - in stable/8/sys: amd64/amd64 i386/i386

Konstantin Belousov kib at FreeBSD.org
Thu Apr 4 05:16:14 UTC 2013


Author: kib
Date: Thu Apr  4 05:16:14 2013
New Revision: 249076
URL: http://svnweb.freebsd.org/changeset/base/249076

Log:
  MFC r248968:
  Record the correct error in the trace.

Modified:
  stable/8/sys/amd64/amd64/busdma_machdep.c
  stable/8/sys/i386/i386/busdma_machdep.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/x86/   (props changed)

Modified: stable/8/sys/amd64/amd64/busdma_machdep.c
==============================================================================
--- stable/8/sys/amd64/amd64/busdma_machdep.c	Thu Apr  4 05:04:48 2013	(r249075)
+++ stable/8/sys/amd64/amd64/busdma_machdep.c	Thu Apr  4 05:16:14 2013	(r249076)
@@ -235,7 +235,7 @@ bus_dma_tag_create(bus_dma_tag_t parent,
 	    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);
 	}
 

Modified: stable/8/sys/i386/i386/busdma_machdep.c
==============================================================================
--- stable/8/sys/i386/i386/busdma_machdep.c	Thu Apr  4 05:04:48 2013	(r249075)
+++ stable/8/sys/i386/i386/busdma_machdep.c	Thu Apr  4 05:16:14 2013	(r249076)
@@ -247,7 +247,7 @@ bus_dma_tag_create(bus_dma_tag_t parent,
 	    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);
 	}
 


More information about the svn-src-stable mailing list