From eb866cae1605d44385cdc58a55cbcffaf99c7878 Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Tue, 2 Jun 2015 17:41:00 +0530 Subject: [PATCH] [Corrected] debug print in get ethernet cable state API Description: This patch fixes the debug print in EthernetCableState API. Earlier the value of pointer was not printed, pointer's memory address was printed. Change-Id: I713171ed4a69a2eece32f0ab13df88d0c1f32827 Signed-off-by: Nishant Chaprana --- packaging/net-config.spec | 2 +- src/network-state.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 2137b88..12c8392 100644 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -1,6 +1,6 @@ Name: net-config Summary: TIZEN Network Configuration Module -Version: 0.1.90_31 +Version: 0.1.90_32 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/network-state.c b/src/network-state.c index 1dbe3ae..b93c7c6 100644 --- a/src/network-state.c +++ b/src/network-state.c @@ -775,7 +775,7 @@ gboolean netconfig_iface_network_state_ethernet_cable_state( return FALSE; } - DBG("Successfully get ethernet cable state[%d]", state); + DBG("Successfully get ethernet cable state[%d]", *state); return TRUE; } -- 2.34.1