karelzak/util-linux — pull request #100 by nazarov-yuriy (2014-06-18 23:15:35+00:00)
Title: lib/loopdev.c: reset errno before strtol() call

Fixed unsuccessful attempt to find unused loop devices if 0-7 devices already used and /dev/loop directory exists.
It's my solution for Issue #99.