|
|
/* First arg is device name. Save it now, because in some cases | /* First arg is device name. Save it now, because in some cases |
* getopt() will remove it... */ | * getopt() will remove it... */ |
strncpy(device, argv[1], 20); | strncpy(device, argv[1], 20); |
device[20] = '\0'; |
device[19] = '\0'; |
| |
/* Look for options */ | /* Look for options */ |
/* Do this before processing device, to handle "-h" and -v" | /* Do this before processing device, to handle "-h" and -v" |