@andy-js the more common convention in libzfs is to return -1 on error. There are about five times as many `return (-1)` statements as `return (E*)`. Plus, I'm not sure what the correct errno would be for the case where all system calls succeed, but the label is not intelligible.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/442#issuecomment-320786859 ------------------------------------------ openzfs-developer Archives: https://openzfs.topicbox.com/groups/developer/discussions/T166e42f6e2808c99-M25418cb1e0630e3a8c509fea Powered by Topicbox: https://topicbox.com
