From: Felix Fietkau Date: Thu, 3 Oct 2013 14:15:29 +0000 (+0200) Subject: device.c: report device type when claim fails X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9585227f1141d9da5a3186df5e10c4521e65083e;p=oweals%2Fnetifd.git device.c: report device type when claim fails Signed-off-by: Felix Fietkau --- 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; }