summaryrefslogtreecommitdiffstats
path: root/usr.sbin/zic/zic.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-02-09 13:42:03 +0000
committertedu <tedu@openbsd.org>2015-02-09 13:42:03 +0000
commite89ae50f99889646d9e45d9d7bda0f011fa007d8 (patch)
tree989798860afa2b1ec4fe585073455968c3ac5e25 /usr.sbin/zic/zic.c
parentmake sigprocmask(2) not take the kernel lock (diff)
downloadwireguard-openbsd-e89ae50f99889646d9e45d9d7bda0f011fa007d8.tar.xz
wireguard-openbsd-e89ae50f99889646d9e45d9d7bda0f011fa007d8.zip
unifdef the rest of the HAVEs and HAVE nots
Diffstat (limited to 'usr.sbin/zic/zic.c')
-rw-r--r--usr.sbin/zic/zic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/zic/zic.c b/usr.sbin/zic/zic.c
index eac0165badd..7fb9d07a62e 100644
--- a/usr.sbin/zic/zic.c
+++ b/usr.sbin/zic/zic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zic.c,v 1.5 2015/02/09 13:39:16 tedu Exp $ */
+/* $OpenBSD: zic.c,v 1.6 2015/02/09 13:42:03 tedu Exp $ */
/*
** This file is in the public domain, so clarified as of
** 2006-07-17 by Arthur David Olson.
@@ -619,10 +619,8 @@ const char * const tofield;
exit(EXIT_FAILURE);
result = link(fromname, toname);
-#if HAVE_SYMLINK
if (result != 0 && errno == EXDEV)
result = symlink(fromname, toname);
-#endif /* HAVE_SYMLINK */
if (result != 0) {
const char *e = strerror(errno);