summaryrefslogtreecommitdiffstats
path: root/apps/logfdisp.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-09-10 09:46:36 +0000
committerNils Wallménius <nils@rockbox.org>2007-09-10 09:46:36 +0000
commit04b3435afd032766a8ac93b2904166499e62c7a4 (patch)
tree85267d62d97a3ee667fcd17b5c9f22bc5ab9da65 /apps/logfdisp.c
parentcd5ad2ff6936c8f30fa7a8a78883822348052633 (diff)
downloadrockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.gz
rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.tar.bz2
rockbox-04b3435afd032766a8ac93b2904166499e62c7a4.zip
Clean up hard-coded paths
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/logfdisp.c')
-rw-r--r--apps/logfdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/logfdisp.c b/apps/logfdisp.c
index 734a6aec63..6463ae6d88 100644
--- a/apps/logfdisp.c
+++ b/apps/logfdisp.c
@@ -108,7 +108,7 @@ bool logfdump(void)
/* nothing is logged just yet */
return false;
- fd = open("/.rockbox/logf.txt", O_CREAT|O_WRONLY|O_TRUNC);
+ fd = open(ROCKBOX_DIR "/logf.txt", O_CREAT|O_WRONLY|O_TRUNC);
if(-1 != fd) {
unsigned char buffer[MAX_LOGF_ENTRY +1];
int index = logfindex-1;