Changeset 3576


Ignore:
Timestamp:
Apr 28, 2016, 12:52:19 AM (3 years ago)
Author:
bruno
Message:
  • Fix a bug for tape usage in interactive mode (wrong printf string)
  • Improve fdisk version usage by removing letters to allow vnumber comparison
Location:
branches/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mr-parted2fdisk

    r3553 r3576  
    233233    $maj++;
    234234}
     235# Remove potential remaining letters
     236$maj =~ s/[a-z]+//;
     237
    235238if ((defined $min) && ($min =~ /-pre/)) {
    236239    $min =~ s/-pre.*$//;
    237240    $min++;
    238241}
     242$min =~ s/[a-z]+//;
    239243
    240244# Check partition table type
  • branches/3.2/mondo/src/common/libmondo-devices.c

    r3553 r3576  
    23832383        mr_free(tmp);
    23842384
    2385         mr_asprintf(sz_size,"%l",bkpinfo->internal_tape_block_size);
     2385        mr_asprintf(sz_size,"%ld",bkpinfo->internal_tape_block_size);
    23862386        tmp = mr_popup_and_get_string("Tape block size?", "What is the block size of your tape streamer?", sz_size);
    23872387        if (tmp == NULL) {
Note: See TracChangeset for help on using the changeset viewer.