summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 13:48:37 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 13:48:37 +0000
commitf96c1874a1e19eb1da9cc2529a460c4791eef444 (patch)
treed3bed7b5015a25317bc5bb2d689c74e03351ef43 /gnu
parent69243a99fc3936d0171585a506bea246d9f70937 (diff)
better. this is what has been applied to binutils.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gas/config/tc-z8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gas/config/tc-z8k.c b/gnu/usr.bin/binutils/gas/config/tc-z8k.c
index 50aaa89ead8..c29076139d9 100644
--- a/gnu/usr.bin/binutils/gas/config/tc-z8k.c
+++ b/gnu/usr.bin/binutils/gas/config/tc-z8k.c
@@ -996,7 +996,7 @@ build_bytes (this_try, operand)
frag_wane (frag_now);
frag_new (0);
- memset (buffer, 0, 20);
+ memset (buffer, 0, sizeof (buffer));
class_ptr = this_try->byte_info;
for (nibble = 0; (c = *class_ptr++); nibble++)