[BACK]Return to mbr.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/mbr.c between version 1.79 and 1.80

version 1.79, 2007/12/28 00:48:43 version 1.80, 2009/05/14 16:23:38
Line 1682  convert_mbr_chs(int cyl, int head, int s
Line 1682  convert_mbr_chs(int cyl, int head, int s
  */   */
   
 int  int
 guess_biosgeom_from_mbr(mbr_info_t *mbri, int *cyl, int *head, int *sec)  guess_biosgeom_from_mbr(mbr_info_t *mbri, int *cyl, int *head, daddr_t *sec)
 {  {
         struct mbr_sector *mbrs = &mbri->mbr;          struct mbr_sector *mbrs = &mbri->mbr;
         struct mbr_partition *parts = &mbrs->mbr_parts[0];          struct mbr_partition *parts = &mbrs->mbr_parts[0];
         int xcylinders, xheads, xsectors, i, j;          int xcylinders, xheads, i, j;
           daddr_t xsectors;
         int c1, h1, s1, c2, h2, s2;          int c1, h1, s1, c2, h2, s2;
         unsigned long a1, a2;          unsigned long a1, a2;
         uint64_t num, denom;          uint64_t num, denom;

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

CVSweb <webmaster@jp.NetBSD.org>