Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/util-linux/fdisk_osf.c

    r2725 r3232  
    4444#define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
    4545
    46 #if defined(i386) || defined(__sparc__) || defined(__arm__) \
    47  || defined(__m68k__) || defined(__mips__) || defined(__s390__) \
    48  || defined(__s390__) || defined(__s390x__) \
    49  || defined(__sh__) || defined(__x86_64__) || defined(__avr32__) \
    50  || defined(__nds32__)
    51 # define BSD_LABELSECTOR   1
    52 # define BSD_LABELOFFSET   0
    53 #elif defined(__alpha__) || defined(__powerpc__) || defined(__ia64__) \
     46#if defined(__alpha__) \
     47 || defined(__powerpc__) \
     48 || defined(__ia64__) \
    5449 || defined(__hppa__)
    5550# define BSD_LABELSECTOR   0
    5651# define BSD_LABELOFFSET   64
    5752#else
    58 # error unknown architecture
     53# define BSD_LABELSECTOR   1
     54# define BSD_LABELOFFSET   0
    5955#endif
    6056
     
    903899#else
    904900    d->d_npartitions = 3;
    905     pp = &d->d_partitions[2];             /* Partition C should be
    906                            the whole disk */
     901    pp = &d->d_partitions[2]; /* Partition C should be the whole disk */
    907902    pp->p_offset = 0;
    908903    pp->p_size   = d->d_secperunit;
     
    940935
    941936    memmove(d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
    942            sizeof(struct xbsd_disklabel));
     937            sizeof(struct xbsd_disklabel));
    943938
    944939    if (d->d_magic != BSD_DISKMAGIC || d->d_magic2 != BSD_DISKMAGIC)
Note: See TracChangeset for help on using the changeset viewer.