X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fvirt-df;h=4aa1063d8efeed67e1b98dbcff1449e62289cb68;hb=4df593496e116dfb635731c058b7627e81fc179c;hp=684334d0ad09c410b3c3dc1ede0fb81a5548b681;hpb=29c78cc979297b95407a5956b4caa34240a2f5a8;p=libguestfs.git diff --git a/tools/virt-df b/tools/virt-df index 684334d..4aa1063 100755 --- a/tools/virt-df +++ b/tools/virt-df @@ -20,9 +20,7 @@ use warnings; use strict; use Sys::Guestfs; -use Sys::Guestfs::Lib qw(open_guest get_partitions resolve_windows_path - inspect_all_partitions inspect_partition - inspect_operating_systems mount_operating_system inspect_in_detail); +use Sys::Guestfs::Lib qw(open_guest get_partitions); use Pod::Usage; use Getopt::Long; @@ -165,7 +163,7 @@ if (@ARGV == 0) { # https://bugzilla.redhat.com/show_bug.cgi?id=538041 @doms = grep { $_->get_id () != 0 } @doms; - my @domnames = map { $_->get_name () } @doms; + my @domnames = sort (map { $_->get_name () } @doms); if (@domnames) { print_title (); @@ -350,11 +348,11 @@ L. =head1 AUTHOR -Richard W.M. Jones L +Richard W.M. Jones L =head1 COPYRIGHT -Copyright (C) 2009 Red Hat Inc. +Copyright (C) 2009-2010 Red Hat Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by