Imported Upstream version 2.6.4

This commit is contained in:
Arnaud Quette 2012-06-01 15:55:19 +02:00
parent fad6ced6f6
commit fefe62b2bd
257 changed files with 6020 additions and 1394 deletions

View file

@ -287,10 +287,9 @@ void upsdrv_initinfo(void)
*p = '\0';
si_data1 = atoi(buf);
v = p+1;
p = strchr(v, ' ');
}
p = strchr(v, ' ');
if ( p != NULL ) {
*p = '\0';
si_data2 = atoi(v);