summaryrefslogtreecommitdiff
path: root/fs/nfs/flexfilelayout
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-05-31 12:40:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2015-05-31 18:18:55 (GMT)
commit096f9b862e605fe08bb30e4f7a381684a8ff82ed (patch)
treec8c8c7cc31ea17fce97564b2768e1a847dc19485 /fs/nfs/flexfilelayout
parentdc8b5d6e633f8e54f70594d0be87aaf401ea0559 (diff)
downloadlinux-096f9b862e605fe08bb30e4f7a381684a8ff82ed.tar.xz
tools:iio:iio_utils: implement digit calculation
Previously, the return value of sscanf() was treated as an indication of the digits it would have read. Yet, sscanf() only returns the amount of valid matches. Therefore, introduce a function to calculate the decimal digits of the read number and use this one to commence a colon search, as originally intended. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'fs/nfs/flexfilelayout')
0 files changed, 0 insertions, 0 deletions