Ignore:
Timestamp:
Feb 25, 2011, 9:26:54 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi-busybox/util-linux/fdisk_aix.c

    r1765 r2725  
    22/*
    33 * Copyright (C) Andreas Neuper, Sep 1998.
    4  *      This file may be redistributed under
    5  *      the terms of the GNU Public License.
     4 *
     5 * Licensed under GPLv2, see file LICENSE in this source tree.
    66 */
    77
     
    3030*/
    3131
    32 static int aix_other_endian;
    33 static short aix_volumes = 1;
     32static smallint aix_other_endian; /* bool */
     33static smallint aix_volumes = 1; /* max 15 */
    3434
    3535/*
     
    5555check_aix_label(void)
    5656{
    57     if (aixlabel->magic != AIX_LABEL_MAGIC &&
    58         aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED) {
     57    if (aixlabel->magic != AIX_LABEL_MAGIC
     58     && aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED
     59    ) {
    5960        current_label_type = 0;
    6061        aix_other_endian = 0;
     
    6364    aix_other_endian = (aixlabel->magic == AIX_LABEL_MAGIC_SWAPPED);
    6465    update_units();
    65     current_label_type = label_aix;
    66     partitions = 1016;
     66    current_label_type = LABEL_AIX;
     67    g_partitions = 1016;
    6768    aix_volumes = 15;
    6869    aix_info();
Note: See TracChangeset for help on using the changeset viewer.