summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/savecore/savecore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c
index cb583b3..cd106f0 100644
--- a/sbin/savecore/savecore.c
+++ b/sbin/savecore/savecore.c
@@ -350,7 +350,6 @@ err1: syslog(LOG_WARNING, "%s: %s", path, strerror(errno));
(void)fprintf(fp, "%d\n", bounds + 1);
(void)fclose(fp);
}
- (void)fclose(fp);
/* Create the core file. */
(void)snprintf(path, sizeof(path), "%s/vmcore.%d%s",
OpenPOWER on IntegriCloud