aboutsummaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-03 16:40:09 +1300
committerDavid Phillips <david@sighup.nz>2019-03-03 16:40:09 +1300
commitb3ece5a5554a242522799864ef4714513d4bcf97 (patch)
tree985c0f38e0566637eaa07f1fb010fb6da142d5d9 /common.c
parent179b04f1d6c46d27747dfb857dbaec6ed8342ca2 (diff)
downloadparamano-b3ece5a5554a242522799864ef4714513d4bcf97.tar.xz
Re-add debug macro, short circuit icon logic
Diffstat (limited to 'common.c')
-rw-r--r--common.c2
1 files changed, 1 insertions, 1 deletions
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);
}