Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm bzero->memset
details: https://anonhg.NetBSD.org/src/rev/dcf46be49e28
branches: trunk
changeset: 513318:dcf46be49e28
user: chris <chris%NetBSD.org@localhost>
date: Sat Jul 28 12:29:58 2001 +0000
description:
bzero->memset
diffstat:
sys/arch/arm/arm/arm_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7bcfe993064b -r dcf46be49e28 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c Sat Jul 28 12:28:56 2001 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c Sat Jul 28 12:29:58 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_machdep.c,v 1.1 2001/03/04 23:25:00 bjh21 Exp $ */
+/* $NetBSD: arm_machdep.c,v 1.2 2001/07/28 12:29:58 chris Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -41,7 +41,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.1 2001/03/04 23:25:00 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.2 2001/07/28 12:29:58 chris Exp $");
#include <sys/exec.h>
#include <sys/proc.h>
@@ -62,7 +62,7 @@
tf = p->p_addr->u_pcb.pcb_tf;
- bzero(tf, sizeof(*tf));
+ memset(tf, 0, sizeof(*tf));
tf->tf_r0 = (u_int)PS_STRINGS;
#ifdef COMPAT_13
tf->tf_r12 = stack; /* needed by pre 1.4 crt0.c */
Home |
Main Index |
Thread Index |
Old Index