summaryrefslogtreecommitdiff
path: root/misc/mklost+found.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-01-11 16:08:23 +0000
committerTheodore Ts'o <tytso@mit.edu>2001-01-11 16:08:23 +0000
commitc8c071a07319939dfd7ae2ff1dedec644d750deb (patch)
treee3402a090c1c2ec57e1189e47e290276058e562a /misc/mklost+found.c
parent4d4045475f80ad2901c468815976d2beffd0cb59 (diff)
downloade2fsprogs-c8c071a07319939dfd7ae2ff1dedec644d750deb.tar.gz
ChangeLog, e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c:
e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c, uuidgen.c: Fix gcc -Wall complaints, including one bug in tune2fs caused by a block automatic shadowing version of the variable we really wanted to use, which broke the logic testing to see if the filesystem was mounted. ChangeLog, MCONFIG.in: (gcc-wall-new): Added new target which forgoes the make clean so we only check the newly modified .c files.
Diffstat (limited to 'misc/mklost+found.c')
-rw-r--r--misc/mklost+found.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/mklost+found.c b/misc/mklost+found.c
index a4d0f7d9..37b7a7b1 100644
--- a/misc/mklost+found.c
+++ b/misc/mklost+found.c
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>