Don't hardcode errno constant

The value of ENOENT is architecture-dependent, so don't assume it's
always 2.
This commit is contained in:
Jakub Wilk 2016-05-14 13:41:41 +02:00
parent 98d560f205
commit 66e7ace17a