summaryrefslogtreecommitdiff
path: root/opcodes/arc-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/arc-dis.c')
-rw-r--r--opcodes/arc-dis.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index 0e16cde239..df842fd7ca 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -426,8 +426,7 @@ write_comments_(struct arcDisState * state,
strcpy (state->commentBuffer, comment_prefix);
else
strcat (state->commentBuffer, ", ");
- strncat (state->commentBuffer, state->comm[i],
- sizeof (state->commentBuffer));
+ strcat (state->commentBuffer, state->comm[i]);
}
}
}