diff options
author | 2016-09-04 15:43:51 +0000 | |
---|---|---|
committer | 2016-09-04 15:43:51 +0000 | |
commit | df5aa7dacf04fcadda20bcde4be556fc70f63ed3 (patch) | |
tree | 19015d23cffd90f12380f74048dcb8049cb715db /sbin/savecore/zopen.c | |
parent | usage() is __dead and main() needs no prototype (diff) | |
download | wireguard-openbsd-df5aa7dacf04fcadda20bcde4be556fc70f63ed3.tar.xz wireguard-openbsd-df5aa7dacf04fcadda20bcde4be556fc70f63ed3.zip |
unifdef SAVECORE now that we're done sharing
Diffstat (limited to 'sbin/savecore/zopen.c')
-rw-r--r-- | sbin/savecore/zopen.c | 5 |
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); |