1
0
Fork 0
forked from len0rd/rockbox

The 'rec upd' panic now prints the filename as well

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3973 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-10-15 09:33:29 +00:00
parent 65a17b848a
commit 2ec8e7d72b

View file

@ -1892,7 +1892,7 @@ static void mpeg_thread(void)
/* Create the Xing header */ /* Create the Xing header */
mpeg_file = open(recording_filename, O_RDWR); mpeg_file = open(recording_filename, O_RDWR);
if(mpeg_file < 0) if(mpeg_file < 0)
panicf("rec upd: %d", mpeg_file); panicf("rec upd: %d (%s)", mpeg_file, recording_filename);
/* If the number of recorded frames have reached 0x7ffff, /* If the number of recorded frames have reached 0x7ffff,
we can no longer trust it */ we can no longer trust it */