summaryrefslogtreecommitdiff
path: root/warnquota.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-02-29 23:32:59 +0100
committerJan Kara <jack@suse.cz>2012-02-29 23:32:59 +0100
commitfe2675fcd256dbd5fd33c10a94ed6c58f4bb5c5b (patch)
treef5071d0a831e2968929c6aa4ded60ca30b741d7d /warnquota.c
parentffb08044b9fece895e47ed799b63429bba71127b (diff)
Typo fixes, message changes for easier i18n
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'warnquota.c')
-rw-r--r--warnquota.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/warnquota.c b/warnquota.c
index 3b81909..08827f2 100644
--- a/warnquota.c
+++ b/warnquota.c
@@ -327,7 +327,7 @@ static FILE *run_mailer(char *command)
default:
close(pipefd[0]);
if (!(f = fdopen(pipefd[1], "w")))
- errstr(_("Cannot open pine: %s\n"), strerror(errno));
+ errstr(_("Cannot open pipe: %s\n"), strerror(errno));
return f;
}
}
@@ -439,12 +439,12 @@ static int mail_user(struct offenderlist *offender, struct configparams *config)
cnt = ldap_count_entries(ldapconn, result);
if(cnt > 1) {
- errstr(_("Multiple entries found for client %s, %d not sending mail.\n"),
+ errstr(_("Multiple entries found for client %s (%d). Not sending mail.\n"),
offender->offender_name, cnt);
return 0;
} else if(cnt == 0) {
- errstr(_("Entry not found for client %s, %d not sending mail.\n"),
- offender->offender_name, cnt);
+ errstr(_("Entry not found for client %s. Not sending mail.\n"),
+ offender->offender_name);
return 0;
} else {
/* get the attr */