summaryrefslogtreecommitdiffstats
path: root/tools/ideviceimagemounter.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-10-16 19:17:29 +0200
committerGravatar Nikias Bassen2012-10-16 19:17:29 +0200
commit0a44757277a9bc0ac0e35cdb9ca2cc65e09921ff (patch)
treea00c48d489c54f4706d6712216a739133b593305 /tools/ideviceimagemounter.c
parentbd1b8614ed2c3515aaf2b24dde5b8dc423aba1f4 (diff)
downloadlibimobiledevice-0a44757277a9bc0ac0e35cdb9ca2cc65e09921ff.tar.gz
libimobiledevice-0a44757277a9bc0ac0e35cdb9ca2cc65e09921ff.tar.bz2
ideviceimagemounter: updated for compatibility with iOS6
Diffstat (limited to 'tools/ideviceimagemounter.c')
-rw-r--r--tools/ideviceimagemounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ideviceimagemounter.c b/tools/ideviceimagemounter.c
index 6b23d6f..9b65a0e 100644
--- a/tools/ideviceimagemounter.c
+++ b/tools/ideviceimagemounter.c
@@ -382,7 +382,7 @@ int main(int argc, char **argv)
}
char *targetname = NULL;
- if (asprintf(&targetname, "%s/%s", PKG_PATH, basename(image_path)) < 0) {
+ if (asprintf(&targetname, "%s/%s", PKG_PATH, "staging.dimage") < 0) {
fprintf(stderr, "Out of memory!?\n");
goto leave;
}