Use ENOENT to test error reporting.

Apparently, empty mask does not trigger EINVAL on Ubuntu LTS.