Improve error message

This commit is contained in:
Evan Miller
2020-08-04 15:10:23 -04:00
parent 68724b2cf2
commit 679c90141f

View File

@@ -122,6 +122,7 @@ FILE *cfile;
fprintf (cfile, "\tdump_string (x.");
break;
default:
fprintf(stderr, "ERROR: unsupported type: 0x%02x\n", col->col_type);
unsupported = 1;
break;
}
@@ -147,8 +148,6 @@ FILE *cfile;
mdb_close (mdb);
if (unsupported)
fputs("ERROR: unsupported type.\n", stderr);
exit(unsupported);
}