Skip to content
Commit 4b07ae9b authored by Li Zefan's avatar Li Zefan Committed by Tony Luck
Browse files

[IA64] Wrong args to memset in efi_gettimeofday()



Not sizeof(ptr) ... we meant to say sizeof(*ptr).

Also moved the memset to the error path (the normal path overwrites
every field in the structure anyway) -Tony

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 8d0a6e4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment