[Pkg-libvirt-commits] [libguestfs] 19/35: daemon: parted: Fix error message when part-get-name is called on non-GPT (RHBZ#1142416).
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:46:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.49-1
in repository libguestfs.
commit 0fabe1a2ed82ff1df9feda459ae139bcca5a3338
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Sep 17 15:36:15 2014 +0100
daemon: parted: Fix error message when part-get-name is called on non-GPT (RHBZ#1142416).
The error message was bogus, fix it.
This fixes commit 0316d247706aab7ce7c2225472feeb51fa8b1664.
Found by: Lingfei Kong
---
daemon/parted.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/parted.c b/daemon/parted.c
index 5e016f4..a730477 100644
--- a/daemon/parted.c
+++ b/daemon/parted.c
@@ -954,7 +954,7 @@ do_part_get_name (const char *device, int partnum)
return name;
}
} else {
- reply_with_error ("parted does not support the machine output (-m)");
+ reply_with_error ("part-get-name can only be used on GUID Partition Tables");
return NULL;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list