]> granicus.if.org Git - postgresql/commitdiff
Blindly fix a dtrace probe in lwlock.c for a removed local variable.
authorAndres Freund <andres@anarazel.de>
Thu, 25 Dec 2014 18:48:46 +0000 (19:48 +0100)
committerAndres Freund <andres@anarazel.de>
Thu, 25 Dec 2014 18:48:46 +0000 (19:48 +0100)
Per buildfarm member locust.

src/backend/storage/lmgr/lwlock.c

index f0db0a66b5c96cc0b29d912744d5cc96bfe41e1e..0741542e2da668a37d74a4da728be44ae8b3d3c7 100644 (file)
@@ -1192,7 +1192,7 @@ LWLockAcquireOrWait(LWLock *lock, LWLockMode mode)
 #ifdef LWLOCK_STATS
                        lwstats->block_count++;
 #endif
-                       TRACE_POSTGRESQL_LWLOCK_WAIT_START(T_NAME(l), T_ID(l), mode);
+                       TRACE_POSTGRESQL_LWLOCK_WAIT_START(T_NAME(lock), T_ID(lock), mode);
 
                        for (;;)
                        {