+1998-03-21 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * mke2fs.c (check_plausibility): Fixed spelling typo in warning
+ message. Fixed up -Wall warnings in file.
+
Sun Mar 8 22:21:48 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
* partinfo.c (main): The ioctl BLKGETSIZE requires a long, not an
#include "ext2fs/ext2fs.h"
#include "../version.h"
+/* Everything is STDC, these days */
+#define NOARGS void
+
#define STRIDE_LENGTH 8
#ifndef sparc
char *volume_label = NULL;
char *mount_dir = NULL;
+static void usage(NOARGS), check_plausibility(NOARGS), check_mount(NOARGS);
+
static void usage(NOARGS)
{
fprintf(stderr, "Usage: %s [-c|-t|-l filename] [-b block-size] "
error_message(errno));
if (errno == ENOENT)
printf("\nThe device apparently does not exist; "
- "did yo specify it correctly?\n");
+ "did you specify it correctly?\n");
exit(1);
}
if(!S_ISBLK(s.st_mode)) {
#ifdef EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER
if ((sparse_option == 1)
#ifdef EXT2_DYNAMIC_REV
- || (param.s_rev_level >= EXT2_DYNAMIC_REV) && (!sparse_option)
+ || ((param.s_rev_level >= EXT2_DYNAMIC_REV) && (!sparse_option))
#endif
)
param_ext2->s_feature_ro_compat |=
--- /dev/null
+/*
+ * version.h --- controls the version number printed by the resize2fs
+ * program.
+ *
+ * Copyright 1995, 1996, 1997, 1998 by Theodore Ts'o. This file may
+ * be redistributed under the GNU Public License.
+ */
+
+#define E2FSPROGS_VERSION "1.01"
+#define E2FSPROGS_DATE "20-Mar-98"
+