libguestfs/0001-daemon-xfs.c-Fix-error...

36 lines
1.0 KiB
Diff

From 49b8b69cb8e10e5476bbe86a708ee1babfe330e8 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 30 Mar 2021 12:56:06 +0100
Subject: [PATCH 1/4] daemon/xfs.c: Fix error message.
Fixes: commit 87206e4e9e3b0ca813a4ff7b5fac0eccc07a484a
---
daemon/xfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/daemon/xfs.c b/daemon/xfs.c
index 3707f56d9..aa056ddff 100644
--- a/daemon/xfs.c
+++ b/daemon/xfs.c
@@ -62,7 +62,7 @@ parse_uint32 (uint32_t *ret, const char *str)
uint32_t r;
if (sscanf (str, "%" SCNu32, &r) != 1) {
- reply_with_error ("cannot parse numeric field from isoinfo: %s", str);
+ reply_with_error ("cannot parse numeric field from xfs_info: %s", str);
return -1;
}
@@ -76,7 +76,7 @@ parse_uint64 (uint64_t *ret, const char *str)
uint64_t r;
if (sscanf (str, "%" SCNu64, &r) != 1) {
- reply_with_error ("cannot parse numeric field from isoinfo: %s", str);
+ reply_with_error ("cannot parse numeric field from xfs_info: %s", str);
return -1;
}
--
2.29.0.rc2