summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}