-/* Conky, a system monitor, based on torsmo
+/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*-
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ * Conky, a system monitor, based on torsmo
*
* Any original torsmo code is licensed under the BSD license
*
*
* Please see COPYING for details
*
- * Copyright (c) 2005-2008 Brenden Matthews, Philip Kovacs, et. al.
+ * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al.
* (see AUTHORS)
* All rights reserved.
*
/* doesn't work, feel free to finish this */
#include "conky.h"
+#include "common.h"
#include <kstat.h>
static kstat_ctl_t *kstat;
if (kstat == NULL) {
kstat = kstat_open();
if (kstat == NULL) {
- ERR("can't open kstat: %s", strerror(errno));
+ NORM_ERR("can't open kstat: %s", strerror(errno));
}
}