Fix compilation warnings
This commit is contained in:
1 parent
58c0dbe275
commit
027a6d9a18
6 files changed
+15
-9
No files matched your search
+6
-2
@@ -517,8 +517,12 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
if (unpack) {
|
||||
if (reverseto)
|
||||
chdir(reverseto);
|
||||
if (reverseto) {
|
||||
if (chdir(reverseto) < 0) {
|
||||
printf("Error: Cannot change directory to %s\n", reverseto);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
unpack_fiasco_image(fiasco_image);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user