diff options
author | Anthony Green <green@redhat.com> | 2005-03-25 20:40:02 +0000 |
---|---|---|
committer | Anthony Green <green@redhat.com> | 2005-03-25 20:40:02 +0000 |
commit | 170cd118a9e2169798247e70160f5a638b516661 (patch) | |
tree | 436ad208cacaf0e2adb115e8533b3ea36cd71590 /sim/ppc/tree.c | |
parent | 7e813ac51f6ea5e3d9ffd1597db564ea23c49d27 (diff) | |
download | gdb-170cd118a9e2169798247e70160f5a638b516661.zip gdb-170cd118a9e2169798247e70160f5a638b516661.tar.gz gdb-170cd118a9e2169798247e70160f5a638b516661.tar.bz2 |
Fix memset thinkos.
Diffstat (limited to 'sim/ppc/tree.c')
-rw-r--r-- | sim/ppc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/tree.c b/sim/ppc/tree.c index 220c62c..d4cfb71 100644 --- a/sim/ppc/tree.c +++ b/sim/ppc/tree.c @@ -539,7 +539,7 @@ parse_reg_property(device *current, if (device_nr_size_cells(bus) > 0) chp = parse_size(current, bus, chp, ®s[reg_nr].size); else - memset(®s[reg_nr].size, sizeof (®s[reg_nr].size), 0); + memset(®s[reg_nr].size, 0, sizeof (®s[reg_nr].size)); } /* create it */ |