diff options
-rw-r--r-- | intel_stub.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intel_stub.c b/intel_stub.c index 9b865c7..27571d3 100644 --- a/intel_stub.c +++ b/intel_stub.c @@ -288,8 +288,10 @@ ioctl(int fd, unsigned long request, ...) if (pci_id) *getparam->value = strtod(pci_id, NULL); - else + else { + fprintf(stderr, "Device ID required to be set using ./run -p <platform-short-id> or INTEL_DEVID_OVERRIDE\n"); return -EINVAL; + } break; case I915_PARAM_CMD_PARSER_VERSION: |