diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2019-08-10 16:52:18 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2019-08-10 16:52:18 -0700 |
commit | 8e0ded21eef05c0f00deeb35b686e6d31367e8bf (patch) | |
tree | e469284f2bc667a2539dcf11c3526b04e3cd1692 | |
parent | cb3c130d2d679f0c68ad7f846cfc2d31e9690dac (diff) |
Build fixes
-rw-r--r-- | hardinfo/vendor.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hardinfo/vendor.c b/hardinfo/vendor.c index 83c99fcf..88b7397d 100644 --- a/hardinfo/vendor.c +++ b/hardinfo/vendor.c @@ -58,7 +58,6 @@ static Vendor vendors_builtin[] = { }; #define ven_msg(msg, ...) fprintf (stderr, "[%s] " msg "\n", __FUNCTION__, ##__VA_ARGS__) /**/ -#define ven_msg_debug(msg, ...) DEBUG(msg, __VA_ARGS__) static vendor_list vendors = NULL; const vendor_list get_vendors_list() { return vendors; } @@ -139,7 +138,7 @@ static int read_from_vendor_ids(const char *path) { char *p, *b; int tl, line = -1, ok = 0; - ven_msg_debug("using vendor.ids format loader for %s", path); + DEBUG("using vendor.ids format loader for %s", path); fd = fopen(path, "r"); if (!fd) return 0; @@ -241,7 +240,7 @@ static int read_from_vendor_ids(const char *path) { fclose(fd); - ven_msg_debug("... found %d match strings", count); + DEBUG("... found %d match strings", count); return count; } @@ -320,7 +319,7 @@ void vendor_init(void) } void vendor_cleanup() { - ven_msg_debug("cleanup vendor list"); + DEBUG("cleanup vendor list"); g_slist_free_full(vendors, (GDestroyNotify)vendor_free); } |