pwm: fixed wrong line ending being checked by strtol
authorMaximilian von Tschirschnitz <maximilian.tschirschnitz@intel.com>
Wed, 29 Oct 2014 12:52:49 +0000 (13:52 +0100)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Wed, 29 Oct 2014 13:01:53 +0000 (13:01 +0000)
commita202b3fd173a7816ca1cccfe35b568480bab8979
tree990de7b7faea08589b7453ff7a0d7a7697700fc9
parente5c3e491a8434153c30beedbfb554afec9e92ea4
pwm: fixed wrong line ending being checked by strtol

Move from fopen to POSIX open introduced this bug in strtol

Signed-off-by: Maximilian von Tschirschnitz <maximilian.tschirschnitz@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
src/pwm/pwm.c