summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-03-05 17:21:28 +0100
committerJan Kara <jack@suse.cz>2012-03-05 17:21:28 +0100
commite866dd7be3fcf145c7dfa043f1cbea07937265d1 (patch)
treede93375a7c8393895125266b91ce46bed9406a80
parent9dd520c78dd952063fccbcd2b63206d661cd5528 (diff)
downloadlinuxquota-e866dd7be3fcf145c7dfa043f1cbea07937265d1.tar.gz
quotacheck: Use 'subtract' instead of 'substract'
-rw-r--r--quotacheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quotacheck.c b/quotacheck.c
index d8cbe87..0d0d4b2 100644
--- a/quotacheck.c
+++ b/quotacheck.c
@@ -873,12 +873,12 @@ static int sub_quota_file(struct mount_entry *mnt, int qtype, int ftype)
debug(FL_DEBUG, _("Substracting space used by old %s quota file.\n"), _(type2name(ftype)));
if (get_qf_name(mnt, ftype, cfmt, 0, &filename) < 0) {
- debug(FL_VERBOSE, _("Old %s file name could not been determined. Usage will not be substracted.\n"), _(type2name(ftype)));
+ debug(FL_VERBOSE, _("Old %s file name could not been determined. Usage will not be subtracted.\n"), _(type2name(ftype)));
return 0;
}
if (stat(filename, &st) < 0) {
- debug(FL_VERBOSE, _("Cannot stat old %s quota file %s: %s. Usage will not be substracted.\n"), _(type2name(ftype)), filename, strerror(errno));
+ debug(FL_VERBOSE, _("Cannot stat old %s quota file %s: %s. Usage will not be subtracted.\n"), _(type2name(ftype)), filename, strerror(errno));
free(filename);
return 0;
}