aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 563726d1265..7927a52d1b1 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1864,7 +1864,7 @@ This happens for interactive use with M-x.")
1864 /* If we didn't complain already, silently delete existing file. */ 1864 /* If we didn't complain already, silently delete existing file. */
1865 if (errno == EEXIST) 1865 if (errno == EEXIST)
1866 { 1866 {
1867 unlink (XSTRING (filename)->data); 1867 unlink (XSTRING (linkname)->data);
1868 if (0 <= symlink (XSTRING (filename)->data, XSTRING (linkname)->data)) 1868 if (0 <= symlink (XSTRING (filename)->data, XSTRING (linkname)->data))
1869 return Qnil; 1869 return Qnil;
1870 } 1870 }