From: Felix Fietkau Date: Wed, 5 Oct 2011 17:19:56 +0000 (+0200) Subject: add a debug message when a device is created X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4958d3012f703139329af3c0c1c63eca4a3e8e23;p=oweals%2Fnetifd.git add a debug message when a device is created --- diff --git a/device.c b/device.c index e953432..b260d50 100644 --- a/device.c +++ b/device.c @@ -353,6 +353,7 @@ device_create(const char *name, const struct device_type *type, struct device *odev = NULL, *dev; enum dev_change_type change; + D(DEVICE, "Create new device '%s' (%s)\n", name, type->name); odev = device_get(name, false); if (odev) { change = device_check_config(odev, config);