summaryrefslogtreecommitdiff
path: root/vpn
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-13 15:29:00 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-19 10:51:41 (GMT)
commite12220c94a4fda7c987e24e3368e3f76760f18ec (patch)
tree03852435a240bc93920dd299d6352eb74e4862a1 /vpn
parent0973548ef45ccc4c51bf1d091b725647c916f358 (diff)
downloadconnman-e12220c94a4fda7c987e24e3368e3f76760f18ec.zip
connman-e12220c94a4fda7c987e24e3368e3f76760f18ec.tar.gz
connman-e12220c94a4fda7c987e24e3368e3f76760f18ec.tar.bz2
vpn-provider: Make state debug print more useful
Print the state value as a string as it is useful information.
Diffstat (limited to 'vpn')
-rw-r--r--vpn/vpn-provider.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vpn/vpn-provider.c b/vpn/vpn-provider.c
index 8b68dba..2519dd5 100644
--- a/vpn/vpn-provider.c
+++ b/vpn/vpn-provider.c
@@ -1179,9 +1179,8 @@ static int provider_indicate_state(struct vpn_provider *provider,
{
const char *str;
- DBG("provider %p state %d", provider, state);
-
str = state2string(state);
+ DBG("provider %p state %s/%d", provider, str, state);
if (str == NULL)
return -EINVAL;