summaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-01-07 12:26:21 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-01-07 12:26:21 -0800
commit273f504c14ebbcead6c4adfa630135dd77bea8d1 (patch)
tree22dd3567f8972475bf2316f49ba29a61a97c8a71 /libnetutils
parenta44404154730e54615d44c389b11cec9dd86c001 (diff)
parentbab2ba3e730d610883added31ff806da352cbb07 (diff)
downloadsystem_core-273f504c14ebbcead6c4adfa630135dd77bea8d1.zip
system_core-273f504c14ebbcead6c4adfa630135dd77bea8d1.tar.gz
system_core-273f504c14ebbcead6c4adfa630135dd77bea8d1.tar.bz2
am bab2ba3e: am 6d9589c3: Merge "Fix dhcpcd startup when net.hostname is not set"
* commit 'bab2ba3e730d610883added31ff806da352cbb07': Fix dhcpcd startup when net.hostname is not set
Diffstat (limited to 'libnetutils')
-rw-r--r--libnetutils/dhcp_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetutils/dhcp_utils.c b/libnetutils/dhcp_utils.c
index a59de0d..d0f1315 100644
--- a/libnetutils/dhcp_utils.c
+++ b/libnetutils/dhcp_utils.c
@@ -217,7 +217,7 @@ int dhcp_do_request(const char *interface,
p2p_interface, DHCP_CONFIG_PATH, prop_value, interface);
else
snprintf(daemon_cmd, sizeof(daemon_cmd), "%s_%s:-f %s %s", DAEMON_NAME,
- DHCP_CONFIG_PATH, p2p_interface, interface);
+ p2p_interface, DHCP_CONFIG_PATH, interface);
memset(prop_value, '\0', PROPERTY_VALUE_MAX);
property_set(ctrl_prop, daemon_cmd);
if (wait_for_property(daemon_prop_name, desired_status, 10) < 0) {