summaryrefslogtreecommitdiff
path: root/quotacheck_v2.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-09-04 16:21:58 +0000
committerjkar8572 <jkar8572>2001-09-04 16:21:58 +0000
commitc0144017620cbee64a818ede2ea7d23d04aaff56 (patch)
treeaf0a2b7a4da253dca12865dd74f114a3b21ba885 /quotacheck_v2.c
parent5cf36f5e002247effba3cf51a77e1d3f23c35a7b (diff)
quotacheck(8) now creates backup quotafiles only when -b specified (Preston Brown)
Fixed bug in parsing of passed mountpoints (reported by Preston Brown) More verbose output of quotaon (Preston Brown) quotacheck(8) now automatically chooses vfsv0 quota format when no quota files are found and special filenames are not specified.
Diffstat (limited to 'quotacheck_v2.c')
-rw-r--r--quotacheck_v2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/quotacheck_v2.c b/quotacheck_v2.c
index 8c88d79..6ede24e 100644
--- a/quotacheck_v2.c
+++ b/quotacheck_v2.c
@@ -48,7 +48,7 @@ static int check_info(char *filename, int fd, int type)
off_t filesize;
int err;
- debug(FL_VERBOSE, _("Checking quotafile info...\n"));
+ debug(FL_DEBUG, _("Checking quotafile info...\n"));
lseek(fd, V2_DQINFOOFF, SEEK_SET);
err = read(fd, &dinfo, sizeof(struct v2_disk_dqinfo));
@@ -322,7 +322,7 @@ int v2_buffer_file(char *filename, int fd, int type)
return 0;
if (check_info(filename, fd, type) < 0)
return 0;
- debug(FL_DEBUG | FL_VERBOSE, _("Headers of file %s checked. Going to load data...\n"),
+ debug(FL_DEBUG, _("Headers of file %s checked. Going to load data...\n"),
filename);
blocks = old_info[type].u.v2_mdqi.dqi_blocks;
blkbmp = xmalloc((blocks + 7) >> 3);
@@ -341,7 +341,7 @@ int v2_buffer_file(char *filename, int fd, int type)
errstr(_("WARNING - Some data might be changed due to corruption.\n"));
}
else
- debug(FL_DEBUG | FL_VERBOSE, _("Not found any corrupted blocks. Congratulations.\n"));
+ debug(FL_DEBUG, _("Not found any corrupted blocks. Congratulations.\n"));
return ret;
}