diff options
author | 1996-06-19 04:37:49 +0000 | |
---|---|---|
committer | 1996-06-19 04:37:49 +0000 | |
commit | 39d4b684d26d7fabb6a73cd798ff0cbb76b9a7b1 (patch) | |
tree | 5d2b749ab5704cd26bcca1ff5d567d744c33c1e7 | |
parent | OpenBSD RCSID (diff) | |
download | wireguard-openbsd-39d4b684d26d7fabb6a73cd798ff0cbb76b9a7b1.tar.xz wireguard-openbsd-39d4b684d26d7fabb6a73cd798ff0cbb76b9a7b1.zip |
our kernel is bsd, not netbsd.
-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) { |