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/e2fsprogs/old_e2fsprogs/util.c

    r1765 r2725  
    55 * Copyright 1995, 1996, 1997, 1998, 1999, 2000 by Theodore Ts'o.
    66 *
    7  * %Begin-Header%
    8  * This file may be redistributed under the terms of the GNU Public
    9  * License.
    10  * %End-Header%
     7 * Licensed under GPLv2, see file LICENSE in this source tree.
    118 */
    129
     
    3835    if (force)
    3936        return;
    40     if(val == -1)
    41         bb_perror_msg_and_die("cannot stat %s", device);
     37    if (val == -1)
     38        bb_perror_msg_and_die("can't stat '%s'", device);
    4239    if (!S_ISBLK(s.st_mode)) {
    4340        printf("%s is not a block special device.\n", device);
     
    8380    retval = ext2fs_check_if_mounted(device, &mount_flags);
    8481    if (retval) {
    85         bb_error_msg("cannot determine if %s is mounted", device);
     82        bb_error_msg("can't determine if %s is mounted", device);
    8683        return;
    8784    }
     
    9996        goto force_check;
    10097    }
    101 
    10298}
    10399
     
    220216                    fs->blocksize, io_ptr, &jfs);
    221217    if (retval)
    222         bb_error_msg_and_die("cannot journal device %s", journal_device);
    223     if(!quiet)
     218        bb_error_msg_and_die("can't journal device %s", journal_device);
     219    if (!quiet)
    224220        printf("Adding journal to device %s: ", journal_device);
    225221    fflush(stdout);
    226222    retval = ext2fs_add_journal_device(fs, jfs);
    227     if(retval)
     223    if (retval)
    228224        bb_error_msg_and_die("\nFailed to add journal to device %s", journal_device);
    229     if(!quiet)
     225    if (!quiet)
    230226        puts("done");
    231227    ext2fs_close(jfs);
     
    243239        return;
    244240    }
    245     if(!quiet)
     241    if (!quiet)
    246242        printf("Creating journal (%ld blocks): ", journal_blocks);
    247243    fflush(stdout);
    248244    retval = ext2fs_add_journal_inode(fs, journal_blocks,
    249245                          journal_flags);
    250     if(retval)
    251         bb_error_msg_and_die("cannot create journal");
    252     if(!quiet)
     246    if (retval)
     247        bb_error_msg_and_die("can't create journal");
     248    if (!quiet)
    253249        puts("done");
    254250}
     
    263259     else
    264260        oldpath = PATH_SET;
    265     putenv (oldpath);
     261    putenv(oldpath);
    266262    return oldpath;
    267263}
Note: See TracChangeset for help on using the changeset viewer.