svn commit: r248968 - head/sys/x86/x86

Konstantin Belousov kib at FreeBSD.org
Mon Apr 1 09:57:47 UTC 2013


Author: kib
Date: Mon Apr  1 09:57:46 2013
New Revision: 248968
URL: http://svnweb.freebsd.org/changeset/base/248968

Log:
  Record the correct error in the trace.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/sys/x86/x86/busdma_machdep.c

Modified: head/sys/x86/x86/busdma_machdep.c
==============================================================================
--- head/sys/x86/x86/busdma_machdep.c	Mon Apr  1 09:56:48 2013	(r248967)
+++ head/sys/x86/x86/busdma_machdep.c	Mon Apr  1 09:57:46 2013	(r248968)
@@ -251,7 +251,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-all mailing list