# HG changeset patch # User Matti Hamalainen # Date 1578474540 -7200 # Node ID 04757ddace1aefd05d730d29a0872ec84eec2c9f # Parent 5dfe7846e9027fe2443da214544c56919a50b0a3 Unify SLDB error messages. diff -r 5dfe7846e902 -r 04757ddace1a sidinfo.c --- a/sidinfo.c Wed Jan 08 11:06:50 2020 +0200 +++ b/sidinfo.c Wed Jan 08 11:09:00 2020 +0200 @@ -1536,15 +1536,15 @@ if ((ret = sidlib_sldb_read(inFile, sidSLDB)) != THERR_OK) { - THERR("Error parsing SLDB: %d, %s\n", - ret, th_error_str(ret)); + THERR("Error parsing SLDB: %s\n", + th_error_str(ret)); goto err1; } if ((ret = sidlib_sldb_build_index(sidSLDB)) != THERR_OK) { - THERR("Error building SLDB index: %d, %s.\n", - ret, th_error_str(ret)); + THERR("Error building SLDB index: %s\n", + th_error_str(ret)); goto err1; } @@ -1586,7 +1586,7 @@ if ((ret = sidlib_stildb_build_index(sidSTILDB)) != THERR_OK) { - THERR("Error building STIL index: %s.\n", + THERR("Error building STIL index: %s\n", th_error_str(ret)); goto err2; }