diff options
author | Oleksandr Kravchenko <o.v.kravchenko@globallogic.com> | 2013-07-22 15:16:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-08-03 21:41:19 +0400 |
commit | d9a0134e7aa048f3de4477d93598974ea8ecae7a (patch) | |
tree | f680dd5219273ccd4844e04863387dcaa0f2365d /mm/page_isolation.c | |
parent | be85697bfcde2eed7e9c55dbb2265ec8a8ea2f43 (diff) | |
download | linux-d9a0134e7aa048f3de4477d93598974ea8ecae7a.tar.xz |
iio: core: Avoid double minus in sysfs output
This patch fixes the issue with double minus in output when
reading channels from sysfs for IIO_VAL_INT_PLUS_MICRO and
IIO_VAL_INT_PLUS_NANO cases. Until this patch if val and val2
both are negatives output string contains "--" before
digits. It is result of "-%d..." in sprintf() format.
Signed-off-by: Oleksandr Kravchenko <o.v.kravchenko@globallogic.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions