diskio: convert print functions to match common signature
[monky] / src / smapi.c
index e0ca9e1..aa2ea2f 100644 (file)
@@ -1,4 +1,7 @@
-/* smapi.c:  conky support for IBM Thinkpad smapi
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ * smapi.c:  conky support for IBM Thinkpad smapi
  *
  * Copyright (C) 2007 Phil Sutter <Phil@nwl.cc>
  *
@@ -99,7 +102,7 @@ char *smapi_get_bat_val(const char *args)
 
        if(sscanf(args, "%i %n", &idx, &cnt) <= 0 ||
           snprintf(fname, 127, "%s", (args + cnt)) < 0) {
-               ERR("smapi: wrong arguments, should be 'bat,<int>,<str>'");
+               NORM_ERR("smapi: wrong arguments, should be 'bat,<int>,<str>'");
                return NULL;
        }