diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index cb583b3aafea..cd106f05f166 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",