summaryrefslogtreecommitdiffstats
path: root/sbin/savecore/zopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/savecore/zopen.c')
-rw-r--r--sbin/savecore/zopen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/savecore/zopen.c b/sbin/savecore/zopen.c
index f54a53fede7..4cb563b8816 100644
--- a/sbin/savecore/zopen.c
+++ b/sbin/savecore/zopen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zopen.c,v 1.1 2016/09/03 13:05:08 tedu Exp $ */
+/* $OpenBSD: zopen.c,v 1.2 2016/09/04 15:43:51 tedu Exp $ */
/* $NetBSD: zopen.c,v 1.5 1995/03/26 09:44:53 glass Exp $ */
/*-
@@ -335,9 +335,6 @@ z_close(void *cookie, struct z_info *info, const char *name, struct stat *sb)
info->total_out = (off_t)zs->zs_bytes_out;
}
-#ifndef SAVECORE
- setfile(name, zs->zs_fd, sb);
-#endif
rval = close(zs->zs_fd);
free(zs);
return (rval);