search for: if_not_available_error

Displaying 1 result from an estimated 1 matches for "if_not_available_error".

2012 Feb 01
1
[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).
...011-2012 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -47,6 +47,8 @@ do_btrfs_filesystem_resize (const char *filesystem, int64_t size) size_t i = 0; char size_str[32]; + IF_NOT_AVAILABLE_ERROR (btrfs, -1); + ADD_ARG (argv, i, "btrfs"); ADD_ARG (argv, i, "filesystem"); ADD_ARG (argv, i, "resize"); diff --git a/daemon/daemon.h b/daemon/daemon.h index babe5bc..051317f 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -331,15 +331,28 @@ is_zero (con...