diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2007-11-06 16:40:39 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-11-06 16:40:39 -0500 |
commit | 4b07ae9b9d7b05a63e3ece32a666041949b7f421 (patch) | |
tree | 62e78c1d22dc58aa21bcd00309df3675f4332d04 /arch/ia64/kernel/time.c | |
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>
Diffstat (limited to 'arch/ia64/kernel/time.c')
0 files changed, 0 insertions, 0 deletions