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);
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to