[PATCH 1/2] Make Packet data handle formatting consistent

Shawn J. Goff shawn7400 at gmail.com
Fri Feb 15 12:18:30 PST 2013


From: "Shawn J. Goff" <shawn7400 at gmail.com>

Other values are surrounded by single quotes. The debug test in
utils/qmi-network also shows the output in quotes.
---
 cli/qmicli-wds.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli/qmicli-wds.c b/cli/qmicli-wds.c
index 2075935..ec51eb8 100644
--- a/cli/qmicli-wds.c
+++ b/cli/qmicli-wds.c
@@ -336,7 +336,7 @@ start_network_ready (QmiClientWds *client,
 #define VALIDATE_UNKNOWN(str) (str ? str : "unknown")
 
     g_print ("[%s] Network started\n"
-             "\tPacket data handle: %u\n",
+             "\tPacket data handle: '%u'\n",
              qmi_device_get_path_display (ctx->device),
              (guint)ctx->packet_data_handle);
 
-- 
1.8.1.2



More information about the libqmi-devel mailing list