Imported Upstream version 2.7.1
This commit is contained in:
parent
a1fa151fc7
commit
0121794af9
451 changed files with 41339 additions and 10887 deletions
|
|
@ -188,9 +188,9 @@ static int reconnect_ups(void)
|
|||
{
|
||||
pm_err_t rv;
|
||||
|
||||
upsdebugx(4, "==================================================");
|
||||
upsdebugx(4, "= connexion lost with Powerman, try to reconnect =");
|
||||
upsdebugx(4, "==================================================");
|
||||
upsdebugx(4, "===================================================");
|
||||
upsdebugx(4, "= connection lost with Powerman, try to reconnect =");
|
||||
upsdebugx(4, "===================================================");
|
||||
|
||||
/* clear the situation */
|
||||
pm_disconnect(pm);
|
||||
|
|
@ -199,7 +199,7 @@ static int reconnect_ups(void)
|
|||
if ((rv = pm_connect(device_path, NULL, &pm, 0)) != PM_ESUCCESS)
|
||||
return 0;
|
||||
else {
|
||||
upsdebugx(4, "connexion restored with Powerman");
|
||||
upsdebugx(4, "connection restored with Powerman");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue