summaryrefslogtreecommitdiff
path: root/vpn/vpn-provider.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-02-13 17:29:00 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-02-19 12:51:41 +0200
commite12220c94a4fda7c987e24e3368e3f76760f18ec (patch)
tree03852435a240bc93920dd299d6352eb74e4862a1 /vpn/vpn-provider.c
parent0973548ef45ccc4c51bf1d091b725647c916f358 (diff)
downloadconnman-e12220c94a4fda7c987e24e3368e3f76760f18ec.tar.gz
connman-e12220c94a4fda7c987e24e3368e3f76760f18ec.tar.bz2
connman-e12220c94a4fda7c987e24e3368e3f76760f18ec.zip
vpn-provider: Make state debug print more useful
Print the state value as a string as it is useful information.
Diffstat (limited to 'vpn/vpn-provider.c')
-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 8b68dba3..2519dd52 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;