Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/util-linux/fdisk_aix.c
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/util-linux/fdisk_aix.c
r1765 r2725 2 2 /* 3 3 * Copyright (C) Andreas Neuper, Sep 1998. 4 * This file may be redistributed under5 * the terms of the GNU Public License.4 * 5 * Licensed under GPLv2, see file LICENSE in this source tree. 6 6 */ 7 7 … … 30 30 */ 31 31 32 static int aix_other_endian;33 static s hort aix_volumes = 1;32 static smallint aix_other_endian; /* bool */ 33 static smallint aix_volumes = 1; /* max 15 */ 34 34 35 35 /* … … 55 55 check_aix_label(void) 56 56 { 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 ) { 59 60 current_label_type = 0; 60 61 aix_other_endian = 0; … … 63 64 aix_other_endian = (aixlabel->magic == AIX_LABEL_MAGIC_SWAPPED); 64 65 update_units(); 65 current_label_type = label_aix;66 partitions = 1016;66 current_label_type = LABEL_AIX; 67 g_partitions = 1016; 67 68 aix_volumes = 15; 68 69 aix_info();
Note:
See TracChangeset
for help on using the changeset viewer.