diff options
| -rw-r--r-- | libsensors/SensorBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsensors/SensorBase.cpp b/libsensors/SensorBase.cpp index 2de3923..9c27184 100644 --- a/libsensors/SensorBase.cpp +++ b/libsensors/SensorBase.cpp @@ -174,7 +174,7 @@ int SensorBase::sspEnable(const char* sensorname, int sensorvalue, int en) int SensorBase::sspWrite(int sensorvalue) { - char buf[10]; + char buf[12]; int fd, ret, err; sprintf(buf, "%d", sensorvalue); |
