Private
Public Access
2
0

docs: fix spelling errors

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Fathi Boudra
2016-04-06 13:44:06 +03:00
committed by Brendan Le Foll
parent a9429204e3
commit e1c500414b
12 changed files with 31 additions and 31 deletions

View File

@@ -161,7 +161,7 @@ mraa_pwm_read_duty(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) {
syslog(LOG_ERR, "pwm: Number is invalid");