diff --git a/src/platforms/posix/drivers/accelsim/accelsim.cpp b/src/platforms/posix/drivers/accelsim/accelsim.cpp index 169b82abcf..47da41c627 100644 --- a/src/platforms/posix/drivers/accelsim/accelsim.cpp +++ b/src/platforms/posix/drivers/accelsim/accelsim.cpp @@ -1039,6 +1039,7 @@ int ACCELSIM_mag::devIOCTL(unsigned long cmd, unsigned long arg) { int ret; + switch (cmd) { case DEVIOCGDEVICEID: ret = (int)VirtDevObj::devIOCTL(cmd, arg);