commit | 4b07ae9b9d7b05a63e3ece32a666041949b7f421 | [log] [tgz] |
---|---|---|
author | Li Zefan <lizf@cn.fujitsu.com> | Tue Nov 06 13:40:39 2007 -0800 |
committer | Tony Luck <tony.luck@intel.com> | Tue Nov 06 13:40:39 2007 -0800 |
tree | 62e78c1d22dc58aa21bcd00309df3675f4332d04 | |
parent | 8d0a6e4da5ecde2022025ee764e4f7e425a53770 [diff] |
[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: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>