• Zbigniew Jędrzejewski-Szmek's avatar
    errno is positive · bcb161b0
    Zbigniew Jędrzejewski-Szmek authored
    Make sure we compare errno against positive error codes.
    The ones in hwclock.c and install.c can have an impact, the
    rest are unlikely to be hit or in code that isn't widely
    Also check that errno > 0, to help gcc know that we are
    returning a negative error code.
bus-kernel.c 10.7 KB