summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/method.c b/loader2/method.c
index ebb92e71f..5eb6179f1 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -530,7 +530,7 @@ int unpackCpioBall(char * ballPath, char * rootDir) {
buf = (char *)malloc(PATH_MAX);
cwd = getcwd(buf, PATH_MAX);
if ((rc = chdir(rootDir)) == 0) {
- fd = gunzip_open(path);
+ fd = gunzip_open(ballPath);
if (fd) {
if (!installCpioFile(fd, NULL, NULL, 0)) {
logMessage(INFO, "copied contents of %s into %s", ballPath,