Returns proper error code when trying to get caps when no devices
present.

1 file changed