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)
This commit is contained in:
Aleksander Morgado
2019-09-25 14:41:20 +02:00
parent 4352c273ba
commit 0a85254d17

View File

@@ -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);
}