diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-10-12 21:22:58 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-11-02 09:35:01 +0100 |
commit | b570afae4d5648dd8edfab62e84a8fd987ff1f67 (patch) | |
tree | cb9f44defe663dd304f0c81775a45f52ebad98c5 /cmds-replace.c | |
parent | 97a9818716f023e67171229cbe087053132df70b (diff) |
btrfs-progs: inspect: set return value of error case
In case of open_file_or_dir() failed, ret is not set to right value,
and the function will return unwanted value(ret of sprintf).
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-replace.c')
0 files changed, 0 insertions, 0 deletions