summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-01 11:14:36 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-01 11:18:00 -0400
commit6459fa0765745e951a6731974164bbcdc9551dfe (patch)
treec79794a0215e8c54309cf3c4d66c3a5577a3b61c /apps
parent021b55735bdb9b2bffb829be4ebcad3965b8fa78 (diff)
downloadrockbox-6459fa0765745e951a6731974164bbcdc9551dfe.tar.gz
rockbox-6459fa0765745e951a6731974164bbcdc9551dfe.tar.bz2
rockbox-6459fa0765745e951a6731974164bbcdc9551dfe.zip
scrobbler: Fix logfile location on most hosted targets.
Change-Id: Ie07fdbd8e99b5c492b87bb5c6a7f916e28143943
Diffstat (limited to 'apps')
-rw-r--r--apps/scrobbler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c
index 3622137a20..7ad73248a2 100644
--- a/apps/scrobbler.c
+++ b/apps/scrobbler.c
@@ -80,8 +80,8 @@ static void get_scrobbler_filename(char *path, size_t size)
used = snprintf(path, size, "/sdcard/%s", BASE_FILENAME);
#elif defined (SAMSUNG_YPR0) || defined(DX50) || defined(DX90)
used = snprintf(path, size, "%s/%s", HOME_DIR, BASE_FILENAME);
-#else /* SDL/unknown RaaA build */
- used = snprintf(path, size, "%s/%s", ROCKBOX_DIR, BASE_FILENAME);
+#else /* Everything else uses a pivot_root strategy.. */
+ used = snprintf(path, size, "/%s", BASE_FILENAME);
#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */
#else
@@ -119,7 +119,7 @@ static void write_cache(void)
}
else
{
- logf("SCROBBLER: cannot create log file");
+ logf("SCROBBLER: cannot create log file (%s)", scrobbler_file);
}
}