From 8ebee55718190c5bec5fb24128f2e3b986174397 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 9 Jul 2020 06:34:30 +0200 Subject: Fix 'Unable get path ...' error messages to say 'Unable to get path ...' --- src/restore.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/restore.c') diff --git a/src/restore.c b/src/restore.c index 78bce3d..cd09c52 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1968,7 +1968,7 @@ static plist_t restore_get_se_firmware_data(restored_client_t restore, struct id } if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); return NULL; } @@ -2081,7 +2081,7 @@ static plist_t restore_get_savage_firmware_data(restored_client_t restore, struc /* now get actual component data */ if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); free(comp_name); return NULL; } @@ -2174,7 +2174,7 @@ static plist_t restore_get_yonkers_firmware_data(restored_client_t restore, stru } if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); free(comp_name); return NULL; } @@ -2264,7 +2264,7 @@ static plist_t restore_get_rose_firmware_data(restored_client_t restore, struct comp_name = "Rap,RTKitOS"; if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); return NULL; } ret = extract_component(client->ipsw, comp_path, &component_data, &component_size); @@ -2290,7 +2290,7 @@ static plist_t restore_get_rose_firmware_data(restored_client_t restore, struct if (build_identity_has_component(build_identity, comp_name)) { if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { ftab_free(ftab); - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); return NULL; } ret = extract_component(client->ipsw, comp_path, &component_data, &component_size); @@ -2389,7 +2389,7 @@ static plist_t restore_get_veridian_firmware_data(restored_client_t restore, str } if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) { - error("ERROR: Unable get path for '%s' component\n", comp_name); + error("ERROR: Unable to get path for '%s' component\n", comp_name); return NULL; } -- cgit v1.1-32-gdbae