--- subversion/mod_dav_svn/util.c.orig	2012-02-19 15:57:10.245000000 -0800
+++ subversion/mod_dav_svn/util.c	2012-02-19 16:10:39.726000000 -0800
@@ -627,8 +627,8 @@
         if (errscan->desc == NULL)
             continue;
 
-        if (errscan->save_errno != 0) {
-            errno = errscan->save_errno;
+        if (errscan->aprerr != 0) {
+            errno = errscan->aprerr;
             ap_log_rerror(APLOG_MARK, level, errno, r, "%s  [%d, #%d]",
                           errscan->desc, errscan->status, errscan->error_id);
         }
