From fe105ac00422a8ea2250e921e76b801a3d23aa8c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Apr 2011 18:52:55 +0200 Subject: [PATCH] interface -> device --- device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/device.c b/device.c index 0efdba5..6b409a0 100644 --- a/device.c +++ b/device.c @@ -96,7 +96,7 @@ void init_virtual_device(struct device *dev, const struct device_type *type, con if (name) strncpy(dev->ifname, name, IFNAMSIZ); - fprintf(stderr, "Initialize interface '%s'\n", dev->ifname); + fprintf(stderr, "Initialize device '%s'\n", dev->ifname); INIT_LIST_HEAD(&dev->users); dev->type = type; } @@ -151,7 +151,7 @@ void cleanup_device(struct device *dev) { struct device_user *dep, *tmp; - fprintf(stderr, "Clean up interface '%s'\n", dev->ifname); + fprintf(stderr, "Clean up device '%s'\n", dev->ifname); list_for_each_entry_safe(dep, tmp, &dev->users, list) { if (!dep->cb) continue; @@ -191,7 +191,7 @@ void remove_device_user(struct device_user *dep) list_del(&dep->list); if (list_empty(&dev->users)) { - /* all references have gone away, remove this interface */ + /* all references have gone away, remove this device */ dev->type->free(dev); } -- 2.11.0