main: Fix incorrect error output

Before:
Couldn't read from device: Unknown error -11
After:
Couldn't read from device: Resource temporarily unavailable