fixed core dumped from last commit

This commit is contained in:
wangyu
2017-07-30 17:07:17 +08:00
committed by wangyu
parent 9f10fd4766
commit 84855a393c
3 changed files with 4 additions and 2 deletions

View File

@@ -2700,6 +2700,8 @@ void process_arg(int argc, char *argv[])
{
if(strcmp(optarg,raw_mode_tostring[i])==0)
{
printf("%d i\n",i);
printf("%s",raw_mode_tostring[i]);
raw_mode=(raw_mode_t)i;
break;
}