fish: When -m option fails, canonicalize device names that are printed.
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 28 Nov 2011 19:12:44 +0000 (19:12 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 2 Dec 2011 08:31:45 +0000 (08:31 +0000)
commit3b782ee5cb517cd30e87f8603bc3b130fdf8b421
tree9af2d7566648585f36249ee2c421a64aa932a588
parent07d64ee16cc7ebc4372246ddc437dd7308262a50
fish: When -m option fails, canonicalize device names that are printed.

The error message now looks like this:

  guestfish: '/dev/vda6' could not be mounted.  Did you mean one of these?
            /dev/sda1 (ext4)
            /dev/vg_f15x32/lv_root (ext4)
            /dev/vg_f15x32/lv_swap (swap)

Note that '/dev/sda1' has been canonicalized.
(cherry picked from commit f5bfc68fdb3e25b9d75c65e3f5e88983584b25ed)
fish/options.c