Better error messages for FUSE and other things not supported.

The bare message "FUSE not supported" wasn't actionable.
This commit is contained in:
Richard W.M. Jones
2013-04-03 12:33:24 +01:00
parent d0a8cca9a1
commit 3dcb572bda
3 changed files with 10 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ do_compressX_out (const char *file, const char *filter, int is_device)
#define CHECK_SUPPORTED(prog) \
if (!prog_exists (prog)) \
/* note: substring "not supported" must appear in this error */ \
NOT_SUPPORTED (-1, "compression type %s is not supported", prog);
NOT_SUPPORTED (-1, "compression type %s is not supported, because external program '%s' is not available in the appliance", prog, prog);
static int
get_filter (const char *ctype, int level, char *ret, size_t n)