Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment