Verify: Fix and improve verify_header()
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 24 Jun 2014 20:13:50 +0000 (22:13 +0200)
committerAndreas Gruenbacher <agruen@linbit.com>
Thu, 26 Jun 2014 11:29:18 +0000 (13:29 +0200)
commit5964842c93e0070c0e8230b0128263bc127a4fcd
tree54fc9f463468919d7b691c4792c27e1cadab9cd5
parent595d9e77cdbf24fa5252e7723da66f4a2cd65916
Verify: Fix and improve verify_header()

Report errors directly from verify_header(); requires passing in the header
number and length.  Correctly report the file name, offset, and expected header
size in all error messages.
verify.c