diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-07-12 01:38:35 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-07-12 01:38:35 +0000 |
commit | 64f7162e1746b543a01ae3084d1d615cc8e966d6 (patch) | |
tree | f7ad29d05cd7af195ebbb42abe4fb681ce4d0cbd /src | |
parent | 542fe8056bc0566a4cb5fa2e4c490aaeab673290 (diff) | |
download | coreboot-64f7162e1746b543a01ae3084d1d615cc8e966d6.tar.xz |
- Initialize list pointers
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@949 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/boot/elfboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/elfboot.c b/src/boot/elfboot.c index da0e909ced..272aee9d73 100644 --- a/src/boot/elfboot.c +++ b/src/boot/elfboot.c @@ -366,6 +366,7 @@ static int build_elf_segment_list( struct segment *ptr; int i; memset(head, 0, sizeof(*head)); + head->phdr_next = head->phdr_prev = head; head->next = head->prev = head; for(i = 0; i < headers; i++) { struct segment *new; |