summaryrefslogtreecommitdiffstats
path: root/net/ifup.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ifup.c')
-rw-r--r--net/ifup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ifup.c b/net/ifup.c
index adab683e96..f22afc9a53 100644
--- a/net/ifup.c
+++ b/net/ifup.c
@@ -67,8 +67,8 @@ int ifup(const char *name, unsigned flags)
for (i = 0; i < ARRAY_SIZE(vars); i++)
setenv(vars[i], "");
- cmd = asprintf("source /env/network/%s", name);
- cmd_discover = asprintf("/env/network/%s-discover", name);
+ cmd = basprintf("source /env/network/%s", name);
+ cmd_discover = basprintf("/env/network/%s-discover", name);
ret = run_command(cmd);
if (ret) {