aboutsummaryrefslogtreecommitdiff
path: root/sbin/savecore/savecore.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/savecore/savecore.c')
-rw-r--r--sbin/savecore/savecore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index 6ee61418ac54..cb583b3aafea 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -203,7 +203,7 @@ kmem_setup()
FILE *fp;
int kmem, i;
const char *dump_sys;
-
+
/*
* Some names we need for the currently running system, others for
* the system that was running when the dump was made. The values
@@ -213,7 +213,7 @@ kmem_setup()
* the same!)
*/
if ((nlist(getbootfile(), current_nl)) == -1)
- syslog(LOG_ERR, "%s: nlist: %s", getbootfile(),
+ syslog(LOG_ERR, "%s: nlist: %s", getbootfile(),
strerror(errno));
for (i = 0; cursyms[i] != -1; i++)
if (current_nl[cursyms[i]].n_value == 0) {
@@ -410,7 +410,7 @@ err2: syslog(LOG_WARNING,
(void)close(ifd);
if (compress)
(void)fclose(fp);
- else
+ else
(void)close(ofd);
/* Copy the kernel. */