Revision 0d913fdb hw/ppc_chrp.c

b/hw/ppc_chrp.c
179 179
        /* We consider that NewWorld PowerMac never have any floppy drive
180 180
         * For now, OHW cannot boot from the network.
181 181
         */
182
        for (i = 0; i < boot_device[i] != '\0'; i++) {
183
            ppc_boot_device = boot_device[i];
184
            if (ppc_boot_device >= 'c' && ppc_boot_device <= 'f')
182
        for (i = 0; boot_device[i] != '\0'; i++) {
183
            if (boot_device[i] >= 'c' && boot_device[i] <= 'f') {
184
                ppc_boot_device = boot_device[i];
185 185
                break;
186
            }
186 187
        }
187 188
        if (ppc_boot_device == '\0') {
188 189
            fprintf(stderr, "No valid boot device for Mac99 machine\n");

Also available in: Unified diff