summary refs log tree commit diff
path: root/timezone/zic.c
diff options
context:
space:
mode:
Diffstat (limited to 'timezone/zic.c')
-rw-r--r--timezone/zic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timezone/zic.c b/timezone/zic.c
index 57dc5311d5..4e3f42f2cc 100644
--- a/timezone/zic.c
+++ b/timezone/zic.c
@@ -650,7 +650,7 @@ const char * const	tofile;
 						"../");
 					symlinkcontents =
 						ecatalloc(symlinkcontents,
-						fromfile);
+							  fromname);
 					result = symlink(symlinkcontents,
 						toname);
 					if (result == 0)