mirror of
https://github.com/nitanmarcel/isodrive.git
synced 2026-03-13 04:17:24 +00:00
isodrive: fix weerors
This commit is contained in:
@@ -73,7 +73,6 @@ void mount_iso(char *iso_path, char *cdrom, char *ro)
|
|||||||
}
|
}
|
||||||
char *configRoot = get_config_root();
|
char *configRoot = get_config_root();
|
||||||
char *udc = get_udc();
|
char *udc = get_udc();
|
||||||
printf("udc found %s\n", udc);
|
|
||||||
char *functionRoot = strjin(gadgetRoot, (char*)"/functions");
|
char *functionRoot = strjin(gadgetRoot, (char*)"/functions");
|
||||||
char *massStorageRoot = strjin(functionRoot, (char*)"/mass_storage.0");
|
char *massStorageRoot = strjin(functionRoot, (char*)"/mass_storage.0");
|
||||||
char *lunRoot = strjin(massStorageRoot, (char*)"/lun.0");
|
char *lunRoot = strjin(massStorageRoot, (char*)"/lun.0");
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@ int main(int argc, char* argv[]){
|
|||||||
}
|
}
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
{
|
{
|
||||||
iso_target = "";
|
iso_target = (char*)"";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (argc > 2)
|
if (argc > 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user