Date: Sat, 14 Jul 2012 05:51:54 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r238440 - head/sys/dev/ath Message-ID: <201207140551.q6E5ps1i011912@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207140551.q6E5ps1i011912>