aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2019-09-25 14:41:20 +0200
committerAleksander Morgado <aleksander@aleksander.es>2019-09-25 14:42:31 +0200
commit0a85254d1765db6e55770d36e24b1e6349e789f4 (patch)
tree62ad9f7252ccc24e0be588d354d2f1e11af84d02 /cli/mmcli-common.c
parent4352c273ba461af95cd04ad28355dfc26dfc9d67 (diff)
cli: fix typo when looking for a specific call fails
$ sudo mmcli --call 1 --hangup error: couldn't find sms at '/org/freedesktop/ModemManager1/Call/1': 'no modems found' (cherry picked from commit e71a4282db94f8f18b5884fe7966b95febc18a6d)
Diffstat (limited to 'cli/mmcli-common.c')
-rw-r--r--cli/mmcli-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
index c149927f..1c63d849 100644
--- a/cli/mmcli-common.c
+++ b/cli/mmcli-common.c
@@ -1485,7 +1485,7 @@ mmcli_get_call_sync (GDBusConnection *connection,
manager = mmcli_get_manager_sync (connection);
modems = g_dbus_object_manager_get_objects (G_DBUS_OBJECT_MANAGER (manager));
if (!modems) {
- g_printerr ("error: couldn't find sms at '%s': 'no modems found'\n",
+ g_printerr ("error: couldn't find call at '%s': 'no modems found'\n",
call_path);
exit (EXIT_FAILURE);
}