Author: adrian
Date: Sat Jul 14 05:51:54 2012
New Revision: 238440
URL: http://svn.freebsd.org/changeset/base/238440

Log:
  Ensure that error is set.
  
  Noticed by:   rui

Modified:
  head/sys/dev/ath/if_ath.c

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c   Sat Jul 14 05:46:52 2012        (r238439)
+++ head/sys/dev/ath/if_ath.c   Sat Jul 14 05:51:54 2012        (r238440)
@@ -2923,6 +2923,7 @@ ath_descdma_setup_rx_edma(struct ath_sof
        if (bf == NULL) {
                if_printf(ifp, "malloc of %s buffers failed, size %u\n",
                        dd->dd_name, bsize);
+               error = ENOMEM;
                goto fail3;
        }
        dd->dd_bufptr = bf;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to