summaryrefslogtreecommitdiff
path: root/misc/util.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/util.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/util.c')
-rw-r--r--misc/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/util.c b/misc/util.c
index e4e147e6..bf3aabdb 100644
--- a/misc/util.c
+++ b/misc/util.c
@@ -45,7 +45,7 @@ int strcasecmp (char *s1, char *s2)
void proceed_question(void)
{
char buf[256];
- char *short_yes = _("yY");
+ const char *short_yes = _("yY");
fflush(stdout);
fflush(stderr);