summaryrefslogtreecommitdiffstats
path: root/tools/ideviceimagemounter.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-02-10 20:05:41 +0100
committerGravatar Nikias Bassen2014-02-10 20:05:41 +0100
commit69cd18e15841aa915756dddb231323d65490b55a (patch)
tree1e6be9fa4fb5b9ff1c0ca1ec24012bb6cac15252 /tools/ideviceimagemounter.c
parenta35dadd5e325f508c27198479013dba9f186bf7a (diff)
downloadlibimobiledevice-69cd18e15841aa915756dddb231323d65490b55a.tar.gz
libimobiledevice-69cd18e15841aa915756dddb231323d65490b55a.tar.bz2
ideviceimagemounter: change output 'Copying' to more correct 'Uploading'
Diffstat (limited to 'tools/ideviceimagemounter.c')
-rw-r--r--tools/ideviceimagemounter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index d47507a..3cd1e55 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -425,15 +425,16 @@ int main(int argc, char **argv)
goto leave;
}
- printf("Copying '%s' --> '%s'\n", image_path, targetname);
if (!imagetype) {
imagetype = strdup("Developer");
}
if (ge70) {
+ printf("Uploading %s\n", image_path);
err = mobile_image_mounter_upload_image(mim, imagetype, image_size, mim_upload_cb, f);
} else {
+ printf("Uploading %s --> afc:///%s\n", image_path, targetname);
char **strs = NULL;
if (afc_get_file_info(afc, PKG_PATH, &strs) != AFC_E_SUCCESS) {
if (afc_make_directory(afc, PKG_PATH) != AFC_E_SUCCESS) {