diff options
author | Benno Schulenberg | 2015-01-18 21:17:09 +0100 |
---|---|---|
committer | Karel Zak | 2015-01-26 11:17:55 +0100 |
commit | 54fefa078e54718acbd2489b0f92328f272f9a3c (patch) | |
tree | b568d511dcdfba35be9bd36ba15c65ec9d7e78a3 /term-utils/agetty.c | |
parent | docs: fix grammar and punctuation and typos in 2.26 release notes (diff) | |
download | kernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.tar.gz kernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.tar.xz kernel-qcow2-util-linux-54fefa078e54718acbd2489b0f92328f272f9a3c.zip |
textual: fix spellos and inconsistencies in several program messages
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r-- | term-utils/agetty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 1aafe72a1..7c97faffa 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1446,7 +1446,7 @@ static char *read_os_release(struct options *op, const char *varname) if (!op->osrelease) { fd = open(_PATH_OS_RELEASE, O_RDONLY); if (fd == -1) { - log_warn(_("cannot open: %s: %m"), _PATH_OS_RELEASE); + log_warn(_("cannot open %s: %m"), _PATH_OS_RELEASE); return NULL; } @@ -2496,10 +2496,10 @@ static void reload_agettys(void) int fd = open(AGETTY_RELOAD_FILENAME, O_CREAT|O_CLOEXEC|O_WRONLY, 0700); if (fd < 0) - err(EXIT_FAILURE, _("cannot open: %s"), AGETTY_RELOAD_FILENAME); + err(EXIT_FAILURE, _("cannot open %s"), AGETTY_RELOAD_FILENAME); if (futimens(fd, NULL) < 0 || close(fd) < 0) - err(EXIT_FAILURE, _("cannot touch file: %s"), + err(EXIT_FAILURE, _("cannot touch file %s"), AGETTY_RELOAD_FILENAME); #else /* very unusual */ |