From: Tim Shimmin Date: Thu, 28 Sep 2006 03:56:37 +0000 (+0000) Subject: Fix up ring command in xfs_db for its argument handling X-Git-Tag: v2.9.0~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3d6b800ba719c8016e1529415ccf679bf0d605a;p=thirdparty%2Fxfsprogs-dev.git Fix up ring command in xfs_db for its argument handling of the index. Merge of master-melb:xfs-cmds:27071a by kenmcd. Fix up ring command in xfs_db for its argument handling of the index. Fix from utako@tnes.nec.co.jp (Utako Kusaka). --- diff --git a/db/io.c b/db/io.c index 979ac1d77..368d1360c 100644 --- a/db/io.c +++ b/db/io.c @@ -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); diff --git a/doc/CHANGES b/doc/CHANGES index f7fc8545c..5c3907542 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,3 +1,7 @@ +xfsprogs-2.8.xx (??) + - Fix up the ring command in xfs_db, + thanks to Utako Kusaka + xfsprogs-2.8.13 (21 September 2006) - Fix v2 directory checking with holes and unreadable blocks. - Fix a memory leak in dir2 checking.