summaryrefslogtreecommitdiff
path: root/version.h.in
diff options
context:
space:
mode:
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>2016-09-20 13:49:06 +0800
committerDavid Sterba <dsterba@suse.com>2016-12-14 15:06:33 +0100
commitd1e8227ceb5adb8c3a40b0ab31d4787e400fd0df (patch)
tree8f3ea0f7b2b643383d3364409124ea35b0cb8dbf /version.h.in
parent21ca38e7dfa11ca45cef3e6c8a6cb6881c4fdd01 (diff)
btrfs-progs: check: fix the return value bug of cmd_check()
The function cmd_check() is called by the main function of btrfs.c, its return value will be returned by exit(). Resulting in the loss of significant bits in some cases, for example this value is greater than 0377. If use a bool value "err" to store all of the return value, this will solve the problem. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'version.h.in')
0 files changed, 0 insertions, 0 deletions