@@ -1483,7 +1483,7 @@ static void start_driver(const ups_t *ups)
14831483 waitret = waitpid (ups -> pid , & wstat , WNOHANG );
14841484 if (forkexec_parent_analyze (waitret , wstat , ups ) > 0 )
14851485#else
1486- DWORD res = WaitForSingleObject (ups -> ProcessInformation -> hProcess , 0 );
1486+ DWORD res = WaitForSingleObject (ups -> ProcessInformation . hProcess , 0 );
14871487 if (forkexec_parent_analyze (res , ups ))
14881488#endif
14891489 {
@@ -2050,7 +2050,7 @@ int main(int argc, char **argv)
20502050 if (waitret == tmp -> pid ) {
20512051 upsdebugx (1 ,
20522052 "Driver [%s] PID %" PRIdMAX " initially exceeded "
2053- "maxstartdelay %d sec but has finished by now" ,
2053+ "maxstartdelay %d sec but has finished starting by now" ,
20542054 tmp -> upsname , (intmax_t )tmp -> pid ,
20552055 (tmp -> maxstartdelay != -1 ?tmp -> maxstartdelay :maxstartdelay ));
20562056 tmp -> exceeded_timeout = 0 ;
@@ -2212,6 +2212,8 @@ int main(int argc, char **argv)
22122212 reset_signal_flag ();
22132213 upsdebugx (1 , "upsdrvctl: handling signal: finished" );
22142214 }
2215+ #else /* WIN32 */
2216+ /* TOTHINK: Is there something we can do on the platform? */
22152217#endif /* !WIN32 */
22162218
22172219 sleep (1 );
0 commit comments