From 4e3272393ff1ab2c07d9fa209d2ae82954f7954c Mon Sep 17 00:00:00 2001 From: Denis Chertykov Date: Tue, 9 Dec 2014 20:00:18 +0300 Subject: [PATCH] * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization. --- binutils/ChangeLog | 4 ++++ binutils/od-elf32_avr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 845eed4754e..ceab9032f1a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2014-12-09 Senthil Kumar Selvaraj + + * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization. + 2014-12-09 Nick Clifton PR binutils/17512 diff --git a/binutils/od-elf32_avr.c b/binutils/od-elf32_avr.c index 7a0a21216cd..ced30c4e98c 100644 --- a/binutils/od-elf32_avr.c +++ b/binutils/od-elf32_avr.c @@ -181,7 +181,7 @@ elf32_avr_dump_mem_usage (bfd *abfd) char *description = NULL; bfd_size_type note_section_size = 0; - deviceinfo device = {0}; + deviceinfo device = { 0, 0, 0, 0, 0, 0, NULL }; device.name = "Unknown"; bfd_size_type data_usage = 0; -- 2.30.2