This commit is contained in:
Nick Chan committed 2023-01-29 01:02:47 +08:00
1 parent 829890010e
commit 4ca64bd24e
4 files changed
+138 -67

No files matched your search

+2 -2
View File
@@ -29,9 +29,9 @@ void *pongo_usb_callback(void *arg) {
if (found_pongo)
return NULL;
found_pongo = 1;
strncat(xargs_cmd, " rootdev=md0", 0x270);
strncat(xargs_cmd, " rootdev=md0", 0x270 - strlen(xargs_cmd) - 1);
if (checkrain_option_enabled(palerain_flags, palerain_option_setup_rootful)) {
strncat(xargs_cmd, " wdt=-1", 0x270);
strncat(xargs_cmd, " wdt=-1", 0x270 - strlen(xargs_cmd) - 1);
}
LOG(LOG_INFO, "Found PongoOS USB Device");
usb_device_handle_t handle = *(usb_device_handle_t *)arg;