Message ID | 1342522319-26017-1-git-send-email-dsterba@suse.cz (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/btrfs-show.c b/btrfs-show.c index 8210fd2..2a85932 100644 --- a/btrfs-show.c +++ b/btrfs-show.c @@ -77,7 +77,7 @@ static void print_one_uuid(struct btrfs_fs_devices *fs_devices) free(super_bytes_used); - list_for_each(cur, &fs_devices->devices) { + list_for_each_prev(cur, &fs_devices->devices) { char *total_bytes; char *bytes_used; device = list_entry(cur, struct btrfs_device, dev_list);
Devids are printed in descending order now, switch it to ascending. Signed-off-by: David Sterba <dsterba@suse.cz> --- btrfs-show.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)