Error check find_ram_offset
commit3e837b2c05bc63fe2226baf3c29923d5a688593f
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 31 Oct 2011 14:54:09 +0000 (31 08:54 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 15:58:08 +0000 (1 10:58 -0500)
tree874e0771980608b9ea9645edddeffddceda6889c
parentc2a8238a2c1e37a2ae6d628a2b7bd95d1b5f1a89
Error check find_ram_offset

Spotted via code review, we initialize offset to 0 to avoid a
compiler warning, but in the unlikely case that offset is
never set to something else, we should abort instead of return
a value that will almost certainly cause problems.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
exec.c