Assign to correct structure members.

Reported by:	cem from Coverity
Sponsored by:	The FreeBSD Foundation
MFC after:	6 days
Approved by:	re (gjb)
This commit is contained in:
Konstantin Belousov 2018-09-04 19:28:46 +00:00
parent 20df4f456d
commit 8e6e1ba843
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338461

View File

@ -421,9 +421,9 @@ efi_reset_system(void)
ec.ec_name = "rt_reset";
ec.ec_argcnt = 4;
ec.ec_arg1 = (uintptr_t)EFI_RESET_WARM;
ec.ec_arg1 = (uintptr_t)0;
ec.ec_arg1 = (uintptr_t)0;
ec.ec_arg1 = (uintptr_t)NULL;
ec.ec_arg2 = (uintptr_t)0;
ec.ec_arg3 = (uintptr_t)0;
ec.ec_arg4 = (uintptr_t)NULL;
ec.ec_fptr = EFI_RT_METHOD_PA(rt_reset);
return (efi_call(&ec));
}