Browse Source

Missing NULL

Andrea Luzzardi 17 years ago
parent
commit
60526528d2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/device.c

+ 2
- 1
src/device.c View File

@ -34,7 +34,8 @@ static int pusb_device_connected(t_pusb_options *opts, LibHalContext *ctx)
udi = pusb_hal_find_item(ctx, udi = pusb_hal_find_item(ctx,
"storage.serial", opts->device.serial, "storage.serial", opts->device.serial,
"storage.vendor", opts->device.vendor, "storage.vendor", opts->device.vendor,
"info.product", opts->device.model);
"info.product", opts->device.model,
NULL);
if (!udi) if (!udi)
{ {
/* Backward compatibility with older versions (0.4.1) */ /* Backward compatibility with older versions (0.4.1) */


Loading…
Cancel
Save