From 7afde59e38e78fa7c99d0b0d36718645c6a77c91 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Wed, 13 Jan 2016 17:45:39 +0100 Subject: btrfs-progs: let test_issubvolume return the exact error Return any error from stat, minor cleanups. Signed-off-by: David Sterba --- commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands.h') diff --git a/commands.h b/commands.h index d2bb0934..2da093bf 100644 --- a/commands.h +++ b/commands.h @@ -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); -- cgit v1.2.3