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 |
/* |
/* |
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 |
} |
} |
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 |
|
|