aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index 46d5a6352..d2c0ce3a4 100644
--- a/src/database.c
+++ b/src/database.c
@@ -39,7 +39,7 @@ static time_t directory_dbModTime;
void
db_init(void)
{
- music_root = directory_new(NULL, NULL);
+ music_root = directory_new("", NULL);
updateDirectory(music_root);
stats.numberOfSongs = countSongsIn(NULL);
stats.dbPlayTime = sumSongTimesIn(NULL);
@@ -240,7 +240,7 @@ db_load(void)
struct stat st;
if (!music_root)
- music_root = directory_new(NULL, NULL);
+ music_root = directory_new("", NULL);
while (!(fp = fopen(dbFile, "r")) && errno == EINTR) ;
if (fp == NULL) {
ERROR("unable to open db file \"%s\": %s\n",