From b3ece5a5554a242522799864ef4714513d4bcf97 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sun, 3 Mar 2019 16:40:09 +1300 Subject: Re-add debug macro, short circuit icon logic --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common.c') diff --git a/common.c b/common.c index bb8681a..0e76a85 100644 --- a/common.c +++ b/common.c @@ -26,7 +26,7 @@ int vget_int_value_from_filef(const char* format, va_list args) { char filename[1024]; if (vsnprintf(filename, sizeof(filename), format, args) == sizeof(filename)) - fprintf(stderr, "WARN: filename buffer too small"); + info("Error: filename buffer too small"); return get_int_value_from_file(filename); } -- cgit v1.1