bonefish + mmlr + axeld:

* The "bfs" KDL command parsed the optional block_run::start parameter
  incorrectly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26530 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-07-20 23:49:24 +00:00
parent 1b5a395d01
commit a0a18e64f0

View File

@ -326,7 +326,7 @@ dump_volume(int argc, char** argv)
block_run run;
run.allocation_group = HOST_ENDIAN_TO_BFS_INT32(
strtoul(arg, &arg, 0));
run.start = HOST_ENDIAN_TO_BFS_INT16(strtoul(arg, NULL, 0));
run.start = HOST_ENDIAN_TO_BFS_INT16(strtoul(arg + 1, NULL, 0));
run.length = 0;
kprintf("%ld.%u -> block %Ld\n", run.AllocationGroup(),