summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/savecore/savecore_old.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/savecore/savecore_old.c b/sbin/savecore/savecore_old.c
index 9de2a14ad52..fa23de1661a 100644
--- a/sbin/savecore/savecore_old.c
+++ b/sbin/savecore/savecore_old.c
@@ -368,7 +368,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) {
@@ -424,7 +424,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) {