Displaying 1 result from an estimated 1 matches for "60c7dd4".
Did you mean:
60c7d4dc
2012 Mar 19
0
[PATCH] inspection: Set last errno to ENOTSUP when inspection APIs are not available.
...orms).
This allows programs to detect if they are using a version of
libguestfs that was compiled without support for inspection, without
having to parse error messages.
---
src/inspect.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/inspect.c b/src/inspect.c
index 60c7dd4..117f57a 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -542,7 +542,7 @@ guestfs__inspect_get_hostname (guestfs_h *g, const char *root)
/* XXX These functions should be in an optgroup. */
#define NOT_IMPL(r) \
- error (g, _("inspectio...