summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas/config
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 13:40:30 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-07-16 13:40:30 +0000
commitb0da5903b03e65d1540ede2554cc4feff69140b6 (patch)
treeb298ef3c4cff653056a48336f588e9f1fdde43e8 /gnu/usr.bin/binutils/gas/config
parent9d3c4822e67537b8b9bf2891c9cbd17e0c115960 (diff)
Correct memset arguments; from Moritz Jodeit <moritz@jodeit.org> via
PR/2822. Submited to binutils as well.
Diffstat (limited to 'gnu/usr.bin/binutils/gas/config')
-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 73666ca89ab..50aaa89ead8 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, 20, 0);
+ memset (buffer, 0, 20);
class_ptr = this_try->byte_info;
for (nibble = 0; (c = *class_ptr++); nibble++)