btrfs-progs: device stats: Print devid instead of null
authorPatrik Lundquist <patrik.lundquist@gmail.com>
Tue, 5 Apr 2016 15:27:43 +0000 (17:27 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 May 2016 12:41:54 +0000 (14:41 +0200)
commita963abc3d32cc3ca8ebf202f1227064fdd9c14a6
tree14dce5724384f89ebaf78b39edac95eeba0563f3
parent972cfbe32fecc4844284277e33429371146a08aa
btrfs-progs: device stats: Print devid instead of null

Print e.g. "[devid:4].write_io_errs   6" instead of
"[(null)].write_io_errs   6" when device is missing.

Signed-off-by: Patrik Lundquist <patrik.lundquist@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
cmds-device.c