linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] btrfs-progs: use the correct variable
@ 2015-05-11 13:55 Anand Jain
  2015-05-11 14:43 ` David Sterba
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2015-05-11 13:55 UTC (permalink / raw)
  To: linux-btrfs; +Cc: dsterba

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(-)

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);
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] btrfs-progs: use the correct variable
  2015-05-11 13:55 [PATCH 1/1] btrfs-progs: use the correct variable Anand Jain
@ 2015-05-11 14:43 ` David Sterba
  0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2015-05-11 14:43 UTC (permalink / raw)
  To: Anand Jain; +Cc: linux-btrfs

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-11 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 13:55 [PATCH 1/1] btrfs-progs: use the correct variable Anand Jain
2015-05-11 14:43 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).