summaryrefslogtreecommitdiffstats
path: root/usr.sbin/zic/zic.c
diff options
context:
space:
mode:
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);