X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffstools.git;a=blobdiff_plain;f=block.c;h=705cf5d047d12235f21e2536664b1263c18a1837;hp=c72a9df334ad04b325f8f6e20274172025fffaa0;hb=914b023e71559e033ec5a1f9840511eb1ccaf386;hpb=4b68e9f9ea894bf58d31e26ca5ed92c81b1a115e diff --git a/block.c b/block.c index c72a9df..705cf5d 100644 --- a/block.c +++ b/block.c @@ -935,7 +935,8 @@ static int find_block_ubi_RO(libubi_t libubi, char *name, char *part, int plen) return err; } -#endif + +#else static int find_root_dev(char *buf, int len) { @@ -966,6 +967,8 @@ static int find_root_dev(char *buf, int len) return -1; } +#endif + static int test_fs_support(const char *name) { char line[128], *p;