aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 726bfc5d4..3c88fc3c4 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -468,7 +468,7 @@ int mpd_main(int argc, char *argv[])
if (create_db) {
/* the database failed to load: recreate the
database */
- unsigned job = update_enqueue(nullptr, true);
+ unsigned job = update_enqueue("", true);
if (job == 0)
FatalError("directory update failed");
}