Commit 84397bbc authored by Lucas Russo's avatar Lucas Russo

apps/ebpm: fix wrong dev_type getopt parsing

parent 701737b5
......@@ -177,8 +177,8 @@ int main (int argc, char *argv[])
break;
case 'e':
DBE_DEBUG (DBG_DEV_IO | DBG_LVL_TRACE, "[ebpm] Will set dev_type parameter\n");
dev_type = strdup (optarg);
DBE_DEBUG (DBG_DEV_IO | DBG_LVL_TRACE, "[ebpm] Will set dev_entry parameter\n");
dev_entry = strdup (optarg);
break;
case 'i':
......
......@@ -106,7 +106,7 @@ int main (int argc, char *argv[])
case 'e':
DBE_DEBUG (DBG_DEV_IO | DBG_LVL_TRACE, "[ebpm_cfg] Will set dev_type parameter\n");
dev_type = strdup (optarg);
dev_entry = strdup (optarg);
break;
case 'i':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment