Private
Public Access
2
0

pwm: syslog message typo correction

Signed-off-by: Matthias Hahn <matthias.hahn@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Matthias Hahn
2014-11-05 20:26:17 +01:00
committed by Brendan Le Foll
parent ac02940174
commit cf6c3dd144

View File

@@ -105,7 +105,7 @@ mraa_pwm_read_period(mraa_pwm_context dev)
char *endptr;
long int ret = strtol(output, &endptr, 10);
if ('\0' != *endptr && '\n' != *endptr) {
syslog(LOG_ERR, "pwm: Error in string converstion");
syslog(LOG_ERR, "pwm: Error in string conversion");
return -1;
}
else if (ret > INT_MAX || ret < INT_MIN) {