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/tune2fs.c

    r1765 r2725  
    99 * Copyright 1995, 1996, 1997, 1998, 1999, 2000 by Theodore Ts'o.
    1010 *
    11  * %Begin-Header%
    12  * This file may be redistributed under the terms of the GNU Public
    13  * License.
    14  * %End-Header%
     11 * Licensed under GPLv2, see file LICENSE in this source tree.
    1512 */
    1613
     
    396393#endif
    397394    if (ts.tm_mday == 0) {
    398         bb_error_msg_and_die("Cannot parse date/time specifier: %s", str);
     395        bb_error_msg_and_die("can't parse date/time specifier: %s", str);
    399396    }
    400397    return mktime(&ts);
     
    558555}
    559556
    560 #ifdef CONFIG_FINDFS
    561 static ATTRIBUTE_NORETURN void do_findfs(int argc, char **argv)
    562 {
    563     if ((argc != 2) ||
    564         (strncmp(argv[1], "LABEL=", 6) && strncmp(argv[1], "UUID=", 5)))
    565         bb_show_usage();
    566     device_name = x_blkid_get_devname(argv[1]);
    567     puts(device_name);
    568     exit(0);
    569 }
    570 #else
    571 #define do_findfs(x, y)
    572 #endif
    573 
    574557static void tune2fs_clean_up(void)
    575558{
     
    578561}
    579562
    580 int tune2fs_main(int argc, char **argv);
     563int tune2fs_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
    581564int tune2fs_main(int argc, char **argv)
    582565{
     
    589572        atexit(tune2fs_clean_up);
    590573
    591     if (ENABLE_FINDFS && (applet_name[0] == 'f')) /* findfs */
    592         do_findfs(argc, argv);  /* no return */
    593     else if (ENABLE_E2LABEL && (applet_name[0] == 'e')) /* e2label */
     574    if (ENABLE_E2LABEL && (applet_name[0] == 'e')) /* e2label */
    594575        parse_e2label_options(argc, argv);
    595576    else
     
    610591    retval = ext2fs_check_if_mounted(device_name, &mount_flags);
    611592    if (retval)
    612         bb_error_msg_and_die("cannot determine if %s is mounted", device_name);
     593        bb_error_msg_and_die("can't determine if %s is mounted", device_name);
    613594    /* Normally we only need to write out the superblock */
    614595    fs->flags |= EXT2_FLAG_SUPER_ONLY;
Note: See TracChangeset for help on using the changeset viewer.