[Pkg-shadow-commits] r2459 - upstream/branches/4.1.2.2/libmisc

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sun Nov 23 00:56:30 UTC 2008


Author: nekral-guest
Date: 2008-11-23 00:56:30 +0000 (Sun, 23 Nov 2008)
New Revision: 2459

Modified:
   upstream/branches/4.1.2.2/libmisc/chowntty.c
Log:
COmpile fix. buf does not exist anymore and is no more needed.


Modified: upstream/branches/4.1.2.2/libmisc/chowntty.c
===================================================================
--- upstream/branches/4.1.2.2/libmisc/chowntty.c	2008-11-23 00:55:23 UTC (rev 2458)
+++ upstream/branches/4.1.2.2/libmisc/chowntty.c	2008-11-23 00:56:30 UTC (rev 2459)
@@ -77,8 +77,7 @@
 	    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));




More information about the Pkg-shadow-commits mailing list