--- apr-1.4.2/file_io/win32/open_old.c	2011-01-19 08:47:53.420632800 +0100
+++ apr-1.4.2/file_io/win32/open.c	2011-01-19 08:47:35.971414100 +0100
@@ -605,8 +605,8 @@
 #endif
 #if APR_HAS_ANSI_FS
     ELSE_WIN_OS_IS_ANSI {
-        if (!CreateHardLinkA(wto_path, wfrom_path))
-                return apr_get_os_error()
+        if (!CreateHardLinkA(to_path, from_path, NULL))
+                return apr_get_os_error();
     }
 #endif
     return rv;
