]> git.sesse.net Git - vlc/commitdiff
Fix crash (once more, this would be easily avoided by
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Sep 2007 15:50:54 +0000 (15:50 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 1 Sep 2007 15:50:54 +0000 (15:50 +0000)
LOOKING AT THE COMPILER WARNING before -or even after- committing)

src/input/meta.c

index 410cf4ecff75c8002af8128b1a0016a2d4b12a90..16f9db92a4ffb4a5b62ac2ca55cf00ec7cafa295 100644 (file)
@@ -439,7 +439,8 @@ int input_DownloadAndCacheArt( playlist_t *p_playlist, input_item_t *p_item )
         long int l_read;
         FILE *p_file = utf8_fopen( psz_filename+7, "w" );
         if( p_file == NULL ) {
-            msg_Err( p_playlist, "Unable write album art in %s" );
+            msg_Err( p_playlist, "Unable write album art in %s",
+                     psz_filename + 7 );
             free( psz_arturl );
             return VLC_EGENERIC;
         }