[PATCH] Use G_GUINT_64_FORMAT not "%lu" to format a guint64
Shawn J. Goff
shawn7400 at gmail.com
Tue May 28 07:09:59 PDT 2013
From: "Shawn J. Goff" <shawn7400 at gmail.com>
---
cli/mbimcli-basic-connect.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cli/mbimcli-basic-connect.c b/cli/mbimcli-basic-connect.c
index 57231a8..dc099fb 100644
--- a/cli/mbimcli-basic-connect.c
+++ b/cli/mbimcli-basic-connect.c
@@ -909,8 +909,8 @@ packet_service_ready (MbimDevice *device,
"\t Network error: '%s'\n"
"\t Packet service state: '%s'\n"
"\tAvailable data classes: '%s'\n"
- "\t Uplink speed: '%lu bps'\n"
- "\t Downlink speed: '%lu bps'\n",
+ "\t Uplink speed: '%" G_GUINT_64_FORMAT " bps'\n"
+ "\t Downlink speed: '%" G_GUINT_64_FORMAT " bps'\n",
mbim_device_get_path_display (device),
VALIDATE_UNKNOWN (mbim_nw_error_get_string (nw_error)),
VALIDATE_UNKNOWN (mbim_packet_service_state_get_string (packet_service_state)),
--
1.8.2.3
More information about the libmbim-devel
mailing list