summaryrefslogtreecommitdiffhomepage
path: root/device.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-10 13:23:06 +0200
committerFelix Fietkau <nbd@openwrt.org>2013-06-10 13:23:12 +0200
commitbac6f28ce1d9abc381c2f85c32bcd37c33cd00c8 (patch)
treef445f21c76b30a09b0cf7a62ec1ab586d7472d02 /device.c
parentf8cf10f2623cbda18e429cc122952859d3e323a5 (diff)
config: replace config_memdup with blob_memdup from libubox
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.c')
-rw-r--r--device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.c b/device.c
index 1c0736f..5fa0ac1 100644
--- a/device.c
+++ b/device.c
@@ -584,7 +584,7 @@ device_create(const char *name, const struct device_type *type,
struct device *odev = NULL, *dev;
enum dev_change_type change;
- config = config_memdup(config);
+ config = blob_memdup(config);
if (!config)
return NULL;