summaryrefslogtreecommitdiff
path: root/sbin/savecore
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-06-19 04:37:50 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-06-19 04:37:50 +0000
commit6105ef566bcff4c293f661bec213a299207359ac (patch)
treeeb93b9633e40129c7a93a898fff35e888967eb34 /sbin/savecore
parent35d983cc309dfcf9fddf3db5b64163106a41f879 (diff)
our kernel is bsd, not netbsd.
Diffstat (limited to 'sbin/savecore')
-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) {