diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-06-19 04:37:50 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-06-19 04:37:50 +0000 |
commit | 6105ef566bcff4c293f661bec213a299207359ac (patch) | |
tree | eb93b9633e40129c7a93a898fff35e888967eb34 /sbin/savecore/savecore_old.c | |
parent | 35d983cc309dfcf9fddf3db5b64163106a41f879 (diff) |
our kernel is bsd, not netbsd.
Diffstat (limited to 'sbin/savecore/savecore_old.c')
-rw-r--r-- | sbin/savecore/savecore_old.c | 4 |
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) { |