From 54fefa078e54718acbd2489b0f92328f272f9a3c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 18 Jan 2015 21:17:09 +0100 Subject: textual: fix spellos and inconsistencies in several program messages Signed-off-by: Benno Schulenberg --- term-utils/agetty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term-utils/agetty.c') 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 */ -- cgit v1.2.3-55-g7522