Skip to content
  • 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
    used.
    
    Also check that errno > 0, to help gcc know that we are
    returning a negative error code.
    bcb161b0