-
Hanna Reitz authored
bdrv_iterate_format() did not actually sort the formats by name but by "pointer interpreted as string". That is probably not what we intended to do, so fix it (by changing qsort_strcmp() so it matches the example from qsort()'s manual page). Signed-off-by:
Max Reitz <mreitz@redhat.com>
Message-id: 20161012204907.25941-2-mreitz@redhat.com
Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Max Reitz <mreitz@redhat.com>Hanna Reitz authoredbdrv_iterate_format() did not actually sort the formats by name but by "pointer interpreted as string". That is probably not what we intended to do, so fix it (by changing qsort_strcmp() so it matches the example from qsort()'s manual page). Signed-off-by:
Max Reitz <mreitz@redhat.com>
Message-id: 20161012204907.25941-2-mreitz@redhat.com
Reviewed-by:
Eric Blake <eblake@redhat.com>
Signed-off-by:
Max Reitz <mreitz@redhat.com>
Loading