- // check that command table not messed up. The compiler will issue
- // warnings if there are too many array elements, but won't issue
- // warnings if there are not enough of them.
- if (sizeof(command_table) != sizeof(char *)*COMMAND_TABLE_SIZE){
- fprintf(stderr,
- "Problem in atacmdnames.c. Command Table command_table[] does\n"
- "not have %d entries! It has %d entries. Please fix it.\n",
- COMMAND_TABLE_SIZE, (int)(sizeof(command_table)/sizeof(char *)));
- abort();
- }
-