[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Patch for utilities/dbootstrap/kbdconfig.c



Hi,

Here's a patch which fixes the incorrect usage of "strstr" for PowerPC in kbdconfig.c - which causes the wrong keyboard choices to appear on non-apus PowerPC hardware.

Regards,

Ross..

--- boot-floppies-cvs-original/utilities/dbootstrap/kbdconfig.c	Tue Aug 13 01:32:30 2002
+++ boot-floppies-cvs/utilities/dbootstrap/kbdconfig.c	Tue Jan 14 21:22:51 2003
@@ -259,7 +259,7 @@
         nchoices = nchoices_ami;
         prefix="amiga/";
     }
-    else if (strstr(Arch2, "PowerMac") == 0) {
+    else if (strstr(Arch2, "PowerMac")) {
         choices = keymaps_mac;
         nchoices = nchoices_mac;
         prefix = "i386/";

Reply to: