db: Fix next fall-out with make distcheck
diff --git a/openbsc/tests/db/db_test.c b/openbsc/tests/db/db_test.c
index 1494e77..75c92d3 100644
--- a/openbsc/tests/db/db_test.c
+++ b/openbsc/tests/db/db_test.c
@@ -157,6 +157,7 @@
 
 	printf("Testing subscriber database code.\n");
 	osmo_init_logging(&log_info);
+	log_set_print_filename(osmo_stderr_target, 0);
 
 	if (db_init("hlr.sqlite3")) {
 		printf("DB: Failed to init database. Please check the option settings.\n");
diff --git a/openbsc/tests/db/db_test.err b/openbsc/tests/db/db_test.err
index 0a0f2f3..fa9a54c 100644
--- a/openbsc/tests/db/db_test.err
+++ b/openbsc/tests/db/db_test.err
@@ -1,2 +1,2 @@
-<000d> db.c:274 Going to migrate from revision 3
+Going to migrate from revision 3
 
\ No newline at end of file