Print uxnasm message to stderr

This commit is contained in:
Andrew Alderwick 2021-10-07 22:37:52 +01:00
parent b78d9e1446
commit 2006b2a6ad
1 changed files with 3 additions and 3 deletions

View File

@ -392,10 +392,10 @@ cleanup(char *filename)
continue; /* Ignore capitalized labels(devices) */
else if(!p.labels[i].refs)
fprintf(stderr, "--- Unused label: %s\n", p.labels[i].name);
printf("Assembled %s in %.2fkb(%.2f%% used), %d labels, %d macros.\n",
fprintf(stderr, "Assembled %s in %.2fkb(%.2f%% used), %d labels, %d macros.\n",
filename,
(p.length - TRIM) / 1000.0,
p.length / 655.360,
(p.length - TRIM) / 1024.0,
p.length / 652.80,
p.llen,
p.mlen);
}