diff options
author | Ben Chan <benchan@chromium.org> | 2018-07-10 16:01:16 -0700 |
---|---|---|
committer | Ben Chan <benchan@chromium.org> | 2018-07-10 16:01:16 -0700 |
commit | f1413f381dd1ced1cd825281429995c025a22ed1 (patch) | |
tree | f31a329b7cc88ebc60e9c7daa690b83a0f1fe83f | |
parent | 1cfcdf37f2a0f358c401f11102ffa1dc4165651b (diff) | |
download | libqmi-f1413f381dd1ced1cd825281429995c025a22ed1.tar.gz |
qmicli,loc: fix conversion from QmiLocTimeSource to string
This patch fixes an incorrect use of g_loc_reliability_get_string() on a
QmiLocTimeSource value.
-rw-r--r-- | src/qmicli/qmicli-loc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmicli/qmicli-loc.c b/src/qmicli/qmicli-loc.c index 2b7e8586..8c9c1696 100644 --- a/src/qmicli/qmicli-loc.c +++ b/src/qmicli/qmicli-loc.c @@ -480,7 +480,7 @@ position_report_received (QmiClientLoc *client, g_print (" time uncertainty: n/a\n"); if (qmi_indication_loc_position_report_output_get_time_source (output, &time_source, NULL)) - g_print (" time source: %s\n", qmi_loc_reliability_get_string (time_source)); + g_print (" time source: %s\n", qmi_loc_time_source_get_string (time_source)); else g_print (" time source: n/a\n"); |