diff sidinfo.c @ 285:04757ddace1a

Unify SLDB error messages.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 08 Jan 2020 11:09:00 +0200
parents a00d11de7a71
children 41bde08182ce
line wrap: on
line diff
--- 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;
         }