[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [1043]
From:       owes () users ! sourceforge ! net
Date:       2008-01-29 15:37:14
Message-ID: E1JJsWQ-0002h8-U2 () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 1043
          http://ipcop.svn.sourceforge.net/ipcop/?rev=1043&view=rev
Author:   owes
Date:     2008-01-29 07:37:14 -0800 (Tue, 29 Jan 2008)

Log Message:
-----------
Fix partioning large disks (for example 160 GB).

Modified Paths:
--------------
    ipcop/trunk/src/installer/partition.c

Modified: ipcop/trunk/src/installer/partition.c
===================================================================
--- ipcop/trunk/src/installer/partition.c	2008-01-28 20:52:17 UTC (rev 1042)
+++ ipcop/trunk/src/installer/partition.c	2008-01-29 15:37:14 UTC (rev 1043)
@@ -123,9 +123,9 @@
     goto PARTITION_EXIT;
   }
 
-  pedsector_start = (PedSector) (1*1024*1024/ ped_dev->sector_size);
-  pedsector_boot  = (PedSector) (boot_partition*1024*1024/ ped_dev->sector_size);
-  pedsector_root  = (PedSector) (root_partition*1024*1024/ ped_dev->sector_size);
+  pedsector_start = ((PedSector)1*1024*1024 / ped_dev->sector_size);
+  pedsector_boot  = ((PedSector)boot_partition*1024*1024 / ped_dev->sector_size);
+  pedsector_root  = ((PedSector)root_partition*1024*1024 / ped_dev->sector_size);
 
 #if defined(__i386__) || defined(__x86_64__)
   strcpy(partition_label[0], "/boot");


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic