aboutsummaryrefslogtreecommitdiff
path: root/gdb/i960-pinsn.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/i960-pinsn.c')
-rw-r--r--gdb/i960-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i960-pinsn.c b/gdb/i960-pinsn.c
index 941a45c..81fd8b2 100644
--- a/gdb/i960-pinsn.c
+++ b/gdb/i960-pinsn.c
@@ -99,7 +99,7 @@ mem( memaddr, word1, word2, noprint )
if ( mem_tab == NULL ){
mem_tab = (struct tabent *) xmalloc( MEM_SIZ );
- bzero( mem_tab, MEM_SIZ );
+ memset( mem_tab, '\0', MEM_SIZ );
for ( i = 0; mem_init[i].opcode != 0; i++ ){
j = mem_init[i].opcode - MEM_MIN;
mem_tab[j].name = mem_init[i].name;