X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fnetifd.git;a=blobdiff_plain;f=device.c;h=c30650abd844f19e71f4b2dfa4fab01a0fe331eb;hp=53971c8dffc9a86d5516cd4cb7dbfe94cbf5e881;hb=e93c42c036c4b4df1f65f261def31cf1a429e942;hpb=9c5fe49282cd15e81c8cf771aa271db10facc5b1 diff --git a/device.c b/device.c index 53971c8..c30650a 100644 --- a/device.c +++ b/device.c @@ -216,7 +216,7 @@ int device_claim(struct device_user *dep) if (ret == 0) device_broadcast_event(dev, DEV_EVENT_UP); else { - D(DEVICE, "claim device %s failed: %d\n", dev->ifname, ret); + D(DEVICE, "claim %s %s failed: %d\n", dev->type->name, dev->ifname, ret); dev->active = 0; dep->claimed = false; }