diff options
author | K. Richard Pixley <rich@cygnus> | 1993-09-01 21:56:42 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1993-09-01 21:56:42 +0000 |
commit | 4ed97c9a835c5d05a900e66b997eb6e77a141950 (patch) | |
tree | 3aac1dc65931f319327cf00df82e4fe0efc7b40d /gdb/i960-pinsn.c | |
parent | 9823e3f4c985eb5919103cc84acf2a6055ed724f (diff) | |
download | gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2 |
bzero -> memset
Diffstat (limited to 'gdb/i960-pinsn.c')
-rw-r--r-- | gdb/i960-pinsn.c | 2 |
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; |