Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Commit

Permalink
Small modifications to consoleoutput
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Jul 22, 2014
1 parent d5774a1 commit ea7e895
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions OZMTool/ffsutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ UINT8 FFSUtil::injectFile(QByteArray file)

ret = findFileByGUID(rootIdx, guid, currIdx);
if (ret) {
printf("* File [%s] not existant, inserting at the end of volume\n", qPrintable(guid));
printf("* File not existant, inserting at the end of volume\n");
ret = insert(volIdx, file, CREATE_MODE_AFTER);
if(ret) {
printf("ERROR: Injection failed!\n");
Expand All @@ -300,7 +300,7 @@ UINT8 FFSUtil::injectFile(QByteArray file)
}
else {
/* Found, replace at known index */
printf("* File [%s] is already present -> Replacing it!\n", qPrintable(guid));
printf("* File is already present -> Replacing it!\n");
ret = replace(currIdx, file, REPLACE_MODE_AS_IS); // as-is for whole File
if(ret) {
printf("ERROR: Replacing failed!\n");
Expand Down
3 changes: 2 additions & 1 deletion OZMTool/ozmtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ UINT8 OZMTool::FFSConvert(QString inputdir, QString outputdir)
return ERR_ERROR;
}

filepath = pathConcatenate(outputdir, currKext.fileName() + ".ffs");
filepath = pathConcatenate(outputdir, currKext.baseName() + "Kext" + ".ffs");
fileWrite(filepath, out);
if(ret) {
printf("ERROR: Saving '%s' failed!\n", qPrintable(filepath));
Expand All @@ -689,6 +689,7 @@ UINT8 OZMTool::FFSConvert(QString inputdir, QString outputdir)
return ERR_ERROR;
}

printf("* Created successfully!\n");
}

return ERR_SUCCESS;
Expand Down

0 comments on commit ea7e895

Please sign in to comment.