]> git.sesse.net Git - vlc/commitdiff
Slightly improve the warning
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 5 Jul 2008 12:03:49 +0000 (15:03 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 5 Jul 2008 12:04:29 +0000 (15:04 +0300)
src/misc/objects.c

index 7e8e7ef93818988ff91a06829a96009558b8363f..b80230d0d64b30f85fccb14ba831f92945c8e0a6 100644 (file)
@@ -303,8 +303,8 @@ static void vlc_object_destroy( vlc_object_t *p_this )
     if( p_priv->b_thread )
     {
         msg_Warn (p_this->p_libvlc, /* do NOT use a dead object for logging! */
-                  "object %d destroyed while thread alive (VLC might crash)",
-                  p_this->i_object_id);
+                  "%s %d destroyed while thread alive (VLC might crash)",
+                  p_this->psz_object_type, p_this->i_object_id);
         vlc_thread_join( p_this );
     }