uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 2006b2a6adae07e8365bbd6ccea890d6c92b7731
parent b78d9e1446d80a56c94de02be07df98e629fd1a7
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date:   Thu,  7 Oct 2021 22:37:52 +0100

Print uxnasm message to stderr

Diffstat:
Msrc/uxnasm.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -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); }