diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-04 17:16:42 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-04 17:16:42 +0000 |
commit | d56fde2d16113fa30b68379d40c4087cf2fd84e5 (patch) | |
tree | 1a1d1a4d5c84342ba9dd05026f6e22dc7a869602 /comsat/action.c | |
parent | bd178bb676dcbb88aacd25293ebb7c098be98a31 (diff) | |
download | mailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.gz mailutils-d56fde2d16113fa30b68379d40c4087cf2fd84e5.tar.bz2 |
Revise error messages for accordance with GNU standards:
begin messages with a capital letter, unless they are prefixed
with `file:line:' or their exact look is important due to
compatibility reasons. Do not end messages with a period.
Avoid using contracted negations.
Diffstat (limited to 'comsat/action.c')
-rw-r--r-- | comsat/action.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comsat/action.c b/comsat/action.c index a624a38c7..18ae379be 100644 --- a/comsat/action.c +++ b/comsat/action.c @@ -274,14 +274,14 @@ action_exec (FILE *tty, int line, int argc, char **argv) if (stat (argv[0], &stb)) { - syslog (LOG_ERR, _("%s:.biffrc:%d: can't stat %s: %s"), + syslog (LOG_ERR, _("%s:.biffrc:%d: cannot stat %s: %s"), username, line, argv[0], strerror (errno)); return; } if (stb.st_mode & (S_ISUID|S_ISGID)) { - syslog (LOG_ERR, _("%s:.biffrc:%d: won't execute set[ug]id programs"), + syslog (LOG_ERR, _("%s:.biffrc:%d: will not execute set[ug]id programs"), username, line); return; } @@ -295,7 +295,7 @@ action_exec (FILE *tty, int line, int argc, char **argv) dup2 (fileno (tty), 2); fclose (tty); execv (argv[0], argv); - syslog (LOG_ERR, _("can't execute %s: %s"), argv[0], strerror (errno)); + syslog (LOG_ERR, _("Cannot execute %s: %s"), argv[0], strerror (errno)); exit (0); } } |