#33 exit with proper error code for time_device()

Unstable (example)
closed-accepted
nobody
None
5
2014-10-02
2012-10-06
No

If errors occur during read_big_block() time_device() returns 0, but it has to return 1, otherwize hdparm cannot perform the test but exits with 0.

Discussion

  • Yegor Yefremov

    Yegor Yefremov - 2012-10-06

    fix time_device() return value

     
  • Mark Lord

    Mark Lord - 2014-10-02
    • status: open --> closed-accepted
    • Group: --> Unstable (example)
     
  • Mark Lord

    Mark Lord - 2014-10-02

    Fixed patch to return EIO rather than 1, otherwise all good. This will appear in hdparm-9.46. Thanks.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks