Send error message to stderr

This commit is contained in:
James Woodcock 2020-11-01 12:56:38 +00:00
parent de4f5516b7
commit 42996dad65

View File

@ -495,7 +495,7 @@ void mdb_data_dump(MdbTableDef *table)
bound_values[i] = (char *) g_malloc(256);
ret = mdb_bind_column(table, i+1, bound_values[i], NULL);
if (ret == -1) {
fprintf(stdout, "error binding column %d\n", i+1);
fprintf(stderr, "error binding column %d\n", i+1);
g_free(bound_values[i]);
bound_values[i] = NULL;
}