Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/e2fsprogs/old_e2fsprogs/tune2fs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 8  Line 8 
8   *   *
9   * Copyright 1995, 1996, 1997, 1998, 1999, 2000 by Theodore Ts'o.   * Copyright 1995, 1996, 1997, 1998, 1999, 2000 by Theodore Ts'o.
10   *   *
11   * %Begin-Header%   * Licensed under GPLv2, see file LICENSE in this tarball for details.
  * This file may be redistributed under the terms of the GNU Public  
  * License.  
  * %End-Header%  
12   */   */
13    
14  /*  /*
# Line 395  static time_t parse_time(char *str) Line 392  static time_t parse_time(char *str)
392   ts.tm_mday = 0;   ts.tm_mday = 0;
393  #endif  #endif
394   if (ts.tm_mday == 0) {   if (ts.tm_mday == 0) {
395   bb_error_msg_and_die("Cannot parse date/time specifier: %s", str);   bb_error_msg_and_die("can't parse date/time specifier: %s", str);
396   }   }
397   return mktime(&ts);   return mktime(&ts);
398  }  }
# Line 593  int tune2fs_main(int argc, char **argv) Line 590  int tune2fs_main(int argc, char **argv)
590   }   }
591   retval = ext2fs_check_if_mounted(device_name, &mount_flags);   retval = ext2fs_check_if_mounted(device_name, &mount_flags);
592   if (retval)   if (retval)
593   bb_error_msg_and_die("cannot determine if %s is mounted", device_name);   bb_error_msg_and_die("can't determine if %s is mounted", device_name);
594   /* Normally we only need to write out the superblock */   /* Normally we only need to write out the superblock */
595   fs->flags |= EXT2_FLAG_SUPER_ONLY;   fs->flags |= EXT2_FLAG_SUPER_ONLY;
596    

Legend:
Removed from v.983  
changed lines
  Added in v.984