public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfs_db ring command
@ 2006-09-27  4:44 Utako Kusaka
  2006-09-28  0:40 ` Timothy Shimmin
  0 siblings, 1 reply; 2+ messages in thread
From: Utako Kusaka @ 2006-09-27  4:44 UTC (permalink / raw)
  To: xfs

This patch fixes the issue that
xfs_db ring [index] command don't move to specified index.

Signed-off-by: Utako Kusaka <utako@tnes.nec.co.jp>
---

--- xfsprogs-2.8.11-orgn/db/io.c	2006-06-26 14:01:14.000000000 +0900
+++ xfsprogs-2.8.11/db/io.c	2006-09-26 16:59:40.000000000 +0900
@@ -352,7 +352,7 @@ ring_f(
 		return 0;
 	}
 
-	index = (int)strtoul(argv[0], NULL, 0);
+	index = (int)strtoul(argv[1], NULL, 0);
 	if (index < 0 || index >= RING_ENTRIES)
 		dbprintf("invalid entry: %d\n", index); 

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

end of thread, other threads:[~2006-09-28  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-27  4:44 [PATCH] xfs_db ring command Utako Kusaka
2006-09-28  0:40 ` Timothy Shimmin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox