aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/vendor.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-06 09:10:12 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-06 09:10:12 -0300
commitabccc1fc3e385d4e5dae8b52644e0da4ef086679 (patch)
tree2db1a53f6c2e2bf7466cc58c32f97a591df3be44 /hardinfo2/vendor.c
parent91850ee576cb0afd8e3121bd2b9ec56ff5bbcbac (diff)
Small fixes
Diffstat (limited to 'hardinfo2/vendor.c')
-rw-r--r--hardinfo2/vendor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/vendor.c b/hardinfo2/vendor.c
index 1515c379..0897341a 100644
--- a/hardinfo2/vendor.c
+++ b/hardinfo2/vendor.c
@@ -119,13 +119,13 @@ void vendor_init(void)
gchar *tmp;
gint num_vendors;
- DEBUG("loading vendor.conf");
+ DEBUG("loading %s", path);
vendors = g_key_file_new();
if (g_key_file_load_from_file(vendors, path, 0, NULL)) {
num_vendors = g_key_file_get_integer(vendors, "vendors", "number", NULL);
- for (i = num_vendors--; i >= 0; i--) {
+ for (i = num_vendors - 1; i >= 0; i--) {
Vendor *v = g_new0(Vendor, 1);
tmp = g_strdup_printf("vendor%d", i);