[haiku-commits] r35495 - haiku/trunk/src/system/boot/loader/file_systems/bfs

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 16 Feb 2010 14:26:28 +0100 (CET)

Author: axeld
Date: 2010-02-16 14:26:28 +0100 (Tue, 16 Feb 2010)
New Revision: 35495
Changeset: http://dev.haiku-os.org/changeset/35495/haiku

Modified:
   haiku/trunk/src/system/boot/loader/file_systems/bfs/Stream.cpp
Log:
* Fixed coding style violation.


Modified: haiku/trunk/src/system/boot/loader/file_systems/bfs/Stream.cpp
===================================================================
--- haiku/trunk/src/system/boot/loader/file_systems/bfs/Stream.cpp      
2010-02-16 12:49:52 UTC (rev 35494)
+++ haiku/trunk/src/system/boot/loader/file_systems/bfs/Stream.cpp      
2010-02-16 13:26:28 UTC (rev 35495)
@@ -258,8 +258,8 @@
                                                += indirect[current].Length() 
<< cached.BlockShift();
                                        if (runBlockEnd > pos) {
                                                run = indirect[current];
-                                               offset = runBlockEnd -
-                                                       (run.Length() << 
cached.BlockShift());
+                                               offset = runBlockEnd
+                                                       - (run.Length() << 
cached.BlockShift());
                                                //printf("reading from indirect 
block: %ld,%d\n",fRun.allocation_group,fRun.start);
                                                //printf("### indirect-run[%ld] 
= (%ld,%d,%d), offset = 
%Ld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
                                                return 
fVolume.ValidateBlockRun(run);


Other related posts:

  • » [haiku-commits] r35495 - haiku/trunk/src/system/boot/loader/file_systems/bfs - axeld