Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/vchiq/dist/interface/compat bzero -> memset
details: https://anonhg.NetBSD.org/src/rev/701e6b3efbd9
branches: trunk
changeset: 328125:701e6b3efbd9
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 27 07:54:43 2014 +0000
description:
bzero -> memset
diffstat:
sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 767fabaec169 -r 701e6b3efbd9 sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c
--- a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c Wed Mar 26 22:03:26 2014 +0000
+++ b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.c Thu Mar 27 07:54:43 2014 +0000
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: vchi_bsd.c,v 1.3 2013/09/06 05:50:22 skrll Exp $
+ * $Id: vchi_bsd.c,v 1.4 2014/03/27 07:54:43 skrll Exp $
*/
#include <sys/types.h>
@@ -252,7 +252,7 @@
void
_sema_init(struct semaphore *s, int value)
{
- bzero(s, sizeof(*s));
+ memset(s, 0, sizeof(*s));
mutex_init(&s->mtx, MUTEX_DEFAULT, IPL_VM);
cv_init(&s->cv, "semacv");
s->value = value;
Home |
Main Index |
Thread Index |
Old Index