diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-03-17 23:17:13 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-03-17 23:17:13 -0400 |
commit | 2d328bb76d2d63bdfdba923b54c28bd686bd8fec (patch) | |
tree | 1fed780f438de72083387ebaa81f4cbccd2aaf2c /misc/ismounted.c | |
parent | a7c9cb7d0dc464eda26958595b728a6c3a4cacbc (diff) | |
download | e2fsprogs-2d328bb76d2d63bdfdba923b54c28bd686bd8fec.tar.gz |
Fix miscellaneous gcc -Wall warnings
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/ismounted.c')
-rw-r--r-- | misc/ismounted.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/ismounted.c b/misc/ismounted.c index 72f4cbae..94a2d6e7 100644 --- a/misc/ismounted.c +++ b/misc/ismounted.c @@ -28,6 +28,9 @@ #endif #include <string.h> #include <sys/stat.h> +#include <ctype.h> + +#include "fsck.h" /* * ext2fs_check_if_mounted flags @@ -80,7 +83,6 @@ static errcode_t check_mntent_file(const char *mtab_file, const char *file, ino_t file_ino=0; FILE *f; char buf[1024], *device = 0, *mnt_dir = 0, *cp; - int fd; *mount_flags = 0; if ((f = fopen(mtab_file, "r")) == NULL) |