Browse Source

Log to debug whenever one property (e.g. serial number) was found but not the others (model/vendor)

Andrea Luzzardi 17 years ago
parent
commit
1907166399
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/hal.c

+ 2
- 0
src/hal.c View File

@ -174,6 +174,8 @@ char *pusb_hal_find_item(LibHalContext *ctx,
if (!pusb_hal_check_property(ctx, devices[i], if (!pusb_hal_check_property(ctx, devices[i],
key, value)) key, value))
{ {
log_debug("%s did match, but property %s didn't (expecting \"%s\")\n",
property, key, value);
match = 0; match = 0;
break; break;
} }


Loading…
Cancel
Save