svn commit: r265077 - stable/9/sbin/savecore

Mark Johnston markj at FreeBSD.org
Tue Apr 29 03:58:17 UTC 2014


Author: markj
Date: Tue Apr 29 03:58:17 2014
New Revision: 265077
URL: http://svnweb.freebsd.org/changeset/base/265077

Log:
  Revert r265076; r262775 should not be MFC'd to stable/9.

Modified:
  stable/9/sbin/savecore/savecore.c
Directory Properties:
  stable/9/sbin/savecore/   (props changed)

Modified: stable/9/sbin/savecore/savecore.c
==============================================================================
--- stable/9/sbin/savecore/savecore.c	Tue Apr 29 03:50:23 2014	(r265076)
+++ stable/9/sbin/savecore/savecore.c	Tue Apr 29 03:58:17 2014	(r265077)
@@ -549,7 +549,7 @@ DoFile(const char *savedir, const char *
 	 */
 	fdinfo = open(buf, O_WRONLY | O_CREAT | O_TRUNC, 0600);
 	if (fdinfo < 0) {
-		syslog(LOG_ERR, "%s: %m", infoname);
+		syslog(LOG_ERR, "%s: %m", buf);
 		nerr++;
 		goto closefd;
 	}


More information about the svn-src-all mailing list