freemyipod r753 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r752‎ | r753 | r754 >
Date:03:35, 17 July 2011
Author:user890104
Status:new
Tags:
Comment:
Beeper: change the path where a song should be located
Modified paths:
  • /apps/beeper/main.c (modified) (history)

Diff [purge]

Index: apps/beeper/main.c
@@ -43,11 +43,11 @@
4444 struct note *buf;
4545 unsigned int i, count;
4646
47 - fd = file_open("/song.dat", O_RDONLY);
 47+ fd = file_open("/.apps/beeper/song.dat", O_RDONLY);
4848
4949 if (fd <= 0)
5050 {
51 - cputs(3, "Unable to open /song.dat!\n");
 51+ cputs(3, "Unable to open /.apps/beeper/song.dat!\n");
5252 return;
5353 }
5454