summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-04-17 22:02:24 +0000
committerdm <dm@cvs.openbsd.org>1996-04-17 22:02:24 +0000
commit3e03478a7205b6fa4b5e6a76f9bca376ab3a6021 (patch)
treee2c30ff2155fc8d11dbe4f844fec947e9d3b9eea
parente5f445b96bd29daa65d0ff859cf34a264f4123e5 (diff)
/var/crash/bsd{,.core}, not netbsd.
-rw-r--r--sbin/savecore.old/savecore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/savecore.old/savecore.c b/sbin/savecore.old/savecore.c
index dbb9ef18a49..b7824f51bd2 100644
--- a/sbin/savecore.old/savecore.c
+++ b/sbin/savecore.old/savecore.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: savecore.c,v 1.1 1996/03/21 00:16:43 niklas Exp $ */
+/* $OpenBSD: savecore.c,v 1.2 1996/04/17 22:02:23 dm Exp $ */
/* $NetBSD: savecore.c,v 1.1.1.1 1996/03/16 10:25:11 leo Exp $ */
/*-
@@ -369,7 +369,7 @@ err1: syslog(LOG_WARNING, "%s: %s", path, strerror(errno));
(void)fclose(fp);
/* Create the core file. */
- (void)snprintf(path, sizeof(path), "%s/netbsd.%d.core%s",
+ (void)snprintf(path, sizeof(path), "%s/bsd.%d.core%s",
dirname, bounds, compress ? ".Z" : "");
if (compress) {
if ((fp = zopen(path, "w", 0)) == NULL) {
@@ -425,7 +425,7 @@ err2: syslog(LOG_WARNING,
/* Copy the kernel. */
ifd = Open(kernel ? kernel : _PATH_UNIX, O_RDONLY);
- (void)snprintf(path, sizeof(path), "%s/netbsd.%d%s",
+ (void)snprintf(path, sizeof(path), "%s/bsd.%d%s",
dirname, bounds, compress ? ".Z" : "");
if (compress) {
if ((fp = zopen(path, "w", 0)) == NULL) {