From 0a85254d1765db6e55770d36e24b1e6349e789f4 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 25 Sep 2019 14:41:20 +0200 Subject: 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) --- cli/mmcli-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/mmcli-common.c') 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); } -- cgit v1.2.3-70-g09d2