From: Richard Jones Date: Fri, 29 Oct 2010 09:23:28 +0000 (+0100) Subject: inspector: Sort section. X-Git-Tag: 1.5.26~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=994ae6e35650e1eeefe63e3871f55efc41c4f5bb;p=libguestfs.git inspector: Sort section. --- diff --git a/inspector/virt-inspector b/inspector/virt-inspector index 7f9d220..87da621 100755 --- a/inspector/virt-inspector +++ b/inspector/virt-inspector @@ -305,6 +305,7 @@ sub output_filesystems $xml->startTag ("filesystems"); my @fses = $g->inspect_get_filesystems ($root); + @fses = sort @fses; foreach (@fses) { $xml->startTag ("filesystem", dev => canonicalize ($_));