diff options
author | David Sterba <dsterba@suse.com> | 2016-01-13 17:45:39 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-14 11:07:10 +0100 |
commit | 7afde59e38e78fa7c99d0b0d36718645c6a77c91 (patch) | |
tree | 5e2c095b356a1505a3bab1345d27ebdcd103abab /commands.h | |
parent | 33ac47b5fb0b7202ac32b6ab018a5212b790c4f1 (diff) | |
download | btrfs-progs-7afde59e38e78fa7c99d0b0d36718645c6a77c91.tar.gz |
btrfs-progs: let test_issubvolume return the exact error
Return any error from stat, minor cleanups.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'commands.h')
-rw-r--r-- | commands.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ int cmd_debug_tree(int argc, char **argv); int cmd_rescue(int argc, char **argv); /* subvolume exported functions */ -int test_issubvolume(char *path); +int test_issubvolume(const char *path); /* send.c */ char *get_subvol_name(char *mnt, char *full_path); |