From: Theodore Ts'o Date: Sat, 4 Aug 2007 00:10:46 +0000 (-0400) Subject: Miscellaneous Cleanups X-Git-Tag: v1.41-WIP-0427~140 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=a98b51e9dd0384d37a4721d52f5f36a15c2ac94a;p=tools%2Fe2fsprogs.git Miscellaneous Cleanups Signed-off-by: Andreas Dilger Signed-off-by: Girish Shilamkar Signed-off-by: "Theodore Ts'o" --- diff --git a/Makefile.in b/Makefile.in index f37640e..53ca526 100644 --- a/Makefile.in +++ b/Makefile.in @@ -10,7 +10,7 @@ INSTALL = @INSTALL@ @RESIZER_CMT@RESIZE_DIR= resize @DEBUGFS_CMT@DEBUGFS_DIR= debugfs -LIB_SUBDIRS=lib/et lib/ss lib/e2p lib/ext2fs lib/uuid lib/blkid intl +LIB_SUBDIRS=lib/et lib/ss lib/e2p lib/uuid lib/ext2fs lib/blkid intl PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests diff --git a/debugfs/set_fields.c b/debugfs/set_fields.c index ce0301f..9ff7f8c 100644 --- a/debugfs/set_fields.c +++ b/debugfs/set_fields.c @@ -16,13 +16,15 @@ #include #include #include -#include #include #include #include #ifdef HAVE_ERRNO_H #include #endif +#if HAVE_STRINGS_H +#include +#endif #include #include diff --git a/lib/blkid/getsize.c b/lib/blkid/getsize.c index 04a0cd8..876d682 100644 --- a/lib/blkid/getsize.c +++ b/lib/blkid/getsize.c @@ -186,7 +186,7 @@ blkid_loff_t blkid_get_dev_size(int fd) #ifdef TEST_PROGRAM int main(int argc, char **argv) { - blkid_loff_t bytes; + long long bytes; int fd; if (argc < 2) {