[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XENBUS PATCH v3 1/5] Fix error variable type in TryAutoReboot
Error variables used with Reg* should be DWORD instead of HRESULT. Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx> --- src/monitor/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 185838f..c87a42f 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -469,7 +469,7 @@ TryAutoReboot( PTCHAR Description; PTCHAR Text; DWORD TextLength; - HRESULT Error; + DWORD Error; Length = sizeof (DWORD); -- 2.49.0.windows.1 Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |