The ioctl(D2osdi) routine of the Sram driver is merely a stub. The switch statement is coded so that, if an ioctl( ) call is received, the driver sets u.u_error to EINVAL and returns -1. This ensures a graceful failure.
u.u_error