loader2 changes

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

 



Well, I started ripping apart loader2 to get to the bottom of the diet lib
changes and I noticed this function changed in hardware.c:

int canProbeDevices(void) {
#if defined(__s390__) || defined(__s390x__)
    return 1;
#endif

    /* we don't support anything like ISA anymore, so we should always 
     * be able to probe */
    return 1;

    if ((access("/proc/bus/pci/devices", R_OK) &&
         access("/proc/openprom", R_OK) &&
         access("/proc/iSeries", R_OK)))
        return 0;

    return 1;    
}


It looks like someone added the "return 1" statement but forgot to take 
out all of the code after it.

--Patrick.


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux