/* -*- 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
*
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA.
*
- * vim: ts=4 sw=4 noet ai cindent syntax=c
- *
*/
#define _GNU_SOURCE
#include "conky.h" /* text_buffer_size, PACKAGE_NAME, maybe more */
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;
}