diff options
Diffstat (limited to 'login-utils/login.c')
-rw-r--r-- | login-utils/login.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/login-utils/login.c b/login-utils/login.c index de56f2dcd..966233669 100644 --- a/login-utils/login.c +++ b/login-utils/login.c @@ -198,8 +198,7 @@ opentty(const char * tty) { fd = open(tty, O_RDWR | O_NONBLOCK); if (fd == -1) { - syslog(LOG_ERR, _("FATAL: can't reopen tty: %s"), - strerror(errno)); + syslog(LOG_ERR, _("FATAL: can't reopen tty: %m")); sleepexit(EXIT_FAILURE); } |