From 2cfb92d97bddeda6af296a2b82af1b2a7614bd1d Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sat, 7 Dec 2019 22:09:27 -0700 Subject: [PATCH] fixed compile and runtime errors --- scripts/tmp_main.py | 2 ++ src/config.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/tmp_main.py b/scripts/tmp_main.py index 12a6781..02799af 100644 --- a/scripts/tmp_main.py +++ b/scripts/tmp_main.py @@ -1,4 +1,6 @@ # Initial test script +import upiwin_tmp + FBPRIMCLR_BLACK = 0x0000 FBPRIMCLR_RED = 0xF800 FBPRIMCLR_GREEN = 0x07E0 diff --git a/src/config.c b/src/config.c index ecf476c..5345597 100644 --- a/src/config.c +++ b/src/config.c @@ -163,7 +163,7 @@ static HRESULT parse_cmdline(int argc, char *argv[], GLOBAL_CONFIG *parsed) } else { - fprintf(stderr, "%s: no script specified\n", argv[0], c); + fprintf(stderr, "%s: no script specified\n", argv[0]); return UPIWIN_E_NOSCRIPT; }