btrfs-progs: use the correct variable
authorAnand Jain <anand.jain@oracle.com>
Mon, 11 May 2015 13:55:52 +0000 (21:55 +0800)
committerDavid Sterba <dsterba@suse.cz>
Thu, 14 May 2015 13:41:07 +0000 (15:41 +0200)
commitfda663809308778b1b67073954045f91e085b80f
treee037f658dbfd76cd78a0325236c68df8cf4535c7
parente9b5ff23eafffa37c1d7bab979f97b1a285556cb
btrfs-progs: use the correct variable

It's res instead of ret, wrong error message could be prointed in case
of error.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-device.c