Message ID | 1431352552-3391-1-git-send-email-anand.jain@oracle.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, May 11, 2015 at 09:55:52PM +0800, Anand Jain wrote: > its res instead of ret > > Signed-off-by: Anand Jain <anand.jain@oracle.com> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/cmds-device.c b/cmds-device.c index cbb3243..1022656 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -183,7 +183,7 @@ static int cmd_rm_dev(int argc, char **argv) if (res) { const char *msg; - if (ret > 0) + if (res > 0) msg = btrfs_err_str(res); else msg = strerror(e);
its res instead of ret Signed-off-by: Anand Jain <anand.jain@oracle.com> --- cmds-device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)