Imported Upstream version 2.6.0
This commit is contained in:
parent
26fb71b504
commit
459aaf9392
510 changed files with 40508 additions and 18859 deletions
|
|
@ -148,7 +148,7 @@ static inline void setinfo_int_minutes (const char *key, const char * s, size_t
|
|||
}
|
||||
|
||||
/* set info to float value */
|
||||
static inline void setinfo_float (const char *key, char * fmt, const char * s, size_t len, double factor)
|
||||
static inline void setinfo_float (const char *key, const char * fmt, const char * s, size_t len, double factor)
|
||||
{
|
||||
char buf[10];
|
||||
if (len > sizeof(buf)) len = sizeof(buf)-1;
|
||||
|
|
@ -402,7 +402,7 @@ void upsdrv_makevartable(void)
|
|||
}
|
||||
|
||||
struct {
|
||||
char * val;
|
||||
const char * val;
|
||||
speed_t speed;
|
||||
} speed_table[] = {
|
||||
{"1200", B1200},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue