[Corrected] debug print in get ethernet cable state API 35/40335/2
authorNishant Chaprana <n.chaprana@samsung.com>
Tue, 2 Jun 2015 12:11:00 +0000 (17:41 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Fri, 5 Jun 2015 06:36:50 +0000 (23:36 -0700)
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 <n.chaprana@samsung.com>
packaging/net-config.spec
src/network-state.c

index 2137b88..12c8392 100644 (file)
@@ -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
index 1dbe3ae..b93c7c6 100644 (file)
@@ -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;
 }