termux-packages/packages/udftools/pktsetup-pktsetup.c.patch
2022-04-04 09:12:31 +09:00

12 lines
357 B
Diff

--- a/pktsetup/pktsetup.c
+++ b/pktsetup/pktsetup.c
@@ -191,7 +191,7 @@
dev_t dev;
if ((misc_minor = get_misc_minor()) < 0) {
- if (system("/sbin/modprobe pktcdvd") != 0) {
+ if (system("@TERMUX_PREFIX@/bin/modprobe pktcdvd") != 0) {
fprintf(stderr, "pktsetup: Error: Can't load pktcdvd kernel module\n");
}
misc_minor = get_misc_minor();