]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: parse_size(), sync errno and return value
authorRuediger Meier <ruediger.meier@ga-group.nl>
Sun, 21 Feb 2016 15:18:04 +0000 (16:18 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Sun, 21 Feb 2016 17:10:00 +0000 (18:10 +0100)
commitf643d3349ed4f110401e009de2c04a8cb497fd5b
tree4276472dd98d98f029a54d0442793679ac2e99d1
parentca8eff2ade9ed9981f77064e016b47151c4f7c4d
lib/strutils: parse_size(), sync errno and return value

Maybe strtosize_or_err() is the only function which uses
this errno (wrongly). But it doesnt hurt to maintain rc
as well as errno.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
lib/strutils.c