svn commit: r249075 - stable/9/sys/x86/x86

Konstantin Belousov kib at FreeBSD.org
Thu Apr 4 05:04:49 UTC 2013


Author: kib
Date: Thu Apr  4 05:04:48 2013
New Revision: 249075
URL: http://svnweb.freebsd.org/changeset/base/249075

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

Modified:
  stable/9/sys/x86/x86/busdma_machdep.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/x86/x86/busdma_machdep.c
==============================================================================
--- stable/9/sys/x86/x86/busdma_machdep.c	Wed Apr  3 23:39:54 2013	(r249074)
+++ stable/9/sys/x86/x86/busdma_machdep.c	Thu Apr  4 05:04:48 2013	(r249075)
@@ -252,7 +252,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-9 mailing list