Changeset 5872

Show
Ignore:
Timestamp:
11/02/10 13:37:35 (3 years ago)
Author:
khali
Message:

Ensure there's at least one space between the label and the value.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/sensors/chips.c

    r5836 r5872  
    121121                free(label); 
    122122        } 
    123         return max_size + 1; 
     123 
     124        /* One more for the colon, and one more to guarantee at least one 
     125           space between that colon and the value */ 
     126        return max_size + 2; 
    124127} 
    125128