Fix for tcs_evlog_imaem.c.
The return of fread must be 1 since it use nmemb =1.
and changed "int" to UINT32 to make sure some length (4 bytes).
I tested this with Fedora 12, 184.108.40.206-174.2.3.fc12.x86_64 kernel.
Signed-off-by: Seiji Munetoh <seiji.munetoh@...>
I see your point, but when I introduced this fread() return code checks I intended to make sure fread() had read the amount of data I said it to, so the fix would be exchange the nmemb and size fields. Let me know what you think.
IBM LTC Security Development