]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
COmpile fix. buf does not exist anymore and is no more needed.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 23 Nov 2008 00:56:30 +0000 (00:56 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 23 Nov 2008 00:56:30 +0000 (00:56 +0000)
libmisc/chowntty.c

index 6cd0383e80cba4984106d890be14db2acc48be2b..8f8a3b153ee5b114ee74b7460d4d740fbdb9be9e 100644 (file)
@@ -77,8 +77,7 @@ void chown_tty (const struct passwd *info)
            fchmod (STDIN_FILENO, getdef_num ("TTYPERM", 0600))) {
                int err = errno;
 
-               snprintf (buf, sizeof buf, _("Unable to change tty stdin"));
-               perror (buf);
+               perror (_("Unable to change tty stdin"));
                SYSLOG ((LOG_WARN,
                         "unable to change tty stdin for user `%s'\n",
                         info->pw_name));