]> granicus.if.org Git - apache/commitdiff
fix chdir_for_gprof() to s/dir/use_dir/ for chdir()
authorDoug MacEachern <dougm@apache.org>
Tue, 20 Nov 2001 18:18:45 +0000 (18:18 +0000)
committerDoug MacEachern <dougm@apache.org>
Tue, 20 Nov 2001 18:18:45 +0000 (18:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92053 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index 641b613be883f653c64f87f89cd729268e367208..cba8eb7e0090fc08a21f4e774ef4289281fff671 100644 (file)
@@ -184,7 +184,7 @@ static void chdir_for_gprof(void)
        use_dir = ap_server_root_relative(pconf, "logs");
     }
 
-    chdir(dir);
+    chdir(use_dir);
 }
 #else
 #define chdir_for_gprof()