Instead of a generic "your architecture", print the actual architecture name. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- src/Makefile.am | 1 + src/util/virhostcpu.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4c022d1e4..166c9a8e9 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2477,6 +2477,7 @@ noinst_LTLIBRARIES += libvirt-setuid-rpc-client.la libvirt_setuid_rpc_client_la_SOURCES = \ util/viralloc.c \ + util/virarch.c \ util/viratomic.c \ util/viratomic.h \ util/virbitmap.c \ diff --git a/src/util/virhostcpu.c b/src/util/virhostcpu.c index d47062013..3c20755eb 100644 --- a/src/util/virhostcpu.c +++ b/src/util/virhostcpu.c @@ -554,7 +554,8 @@ virHostCPUParseFrequency(FILE *cpuinfo, prefix = "BogoMIPS"; if (!prefix) { - VIR_WARN("Your architecture is not supported by the %s parser", + VIR_WARN("%s is not supported by the %s parser", + virArchToString(arch), CPUINFO_PATH); return 1; } -- 2.14.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list