From: Jukka Rissanen Date: Wed, 13 Feb 2013 15:29:00 +0000 (+0200) Subject: vpn-provider: Make state debug print more useful X-Git-Tag: 1.12~76 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e12220c94a4fda7c987e24e3368e3f76760f18ec;p=platform%2Fupstream%2Fconnman.git vpn-provider: Make state debug print more useful Print the state value as a string as it is useful information. --- 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;