xfs
[Top] [All Lists]

[PATCH] xfs_db ring command

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfs_db ring command
From: Utako Kusaka <utako@xxxxxxxxxxxxxx>
Date: Wed, 27 Sep 2006 13:44:58 +0900
Sender: xfs-bounce@xxxxxxxxxxx
This patch fixes the issue that
xfs_db ring [index] command don't move to specified index.

Signed-off-by: Utako Kusaka <utako@xxxxxxxxxxxxxx>
---

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


<Prev in Thread] Current Thread [Next in Thread>