Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gas/config wrong arg to memset. OpenBSD ...



details:   https://anonhg.NetBSD.org/src/rev/979ee925e521
branches:  trunk
changeset: 534107:979ee925e521
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Jul 16 23:08:04 2002 +0000

description:
wrong arg to memset.  OpenBSD PR 2822

diffstat:

 gnu/dist/toolchain/gas/config/tc-z8k.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r aae6798bf95d -r 979ee925e521 gnu/dist/toolchain/gas/config/tc-z8k.c
--- a/gnu/dist/toolchain/gas/config/tc-z8k.c    Tue Jul 16 23:07:33 2002 +0000
+++ b/gnu/dist/toolchain/gas/config/tc-z8k.c    Tue Jul 16 23:08:04 2002 +0000
@@ -996,7 +996,7 @@
   frag_wane (frag_now);
   frag_new (0);
 
-  memset (buffer, 20, 0);
+  memset (buffer, 0, 20);
   class_ptr = this_try->byte_info;
 
   for (nibble = 0; (c = *class_ptr++); nibble++)



Home | Main Index | Thread Index | Old Index