ethdev: remove rte_pmd_init_all function
[dpdk.git] / app / test / test_logs.c
index 379579d..730581a 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  *   BSD LICENSE
  * 
- *   Copyright(c) 2010-2013 Intel Corporation. All rights reserved.
+ *   Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
  *   All rights reserved.
  * 
  *   Redistribution and use in source and binary forms, with or without
@@ -36,8 +36,6 @@
 #include <stdarg.h>
 #include <sys/queue.h>
 
-#include <cmdline_parse.h>
-
 #include <rte_log.h>
 #include <rte_memory.h>
 #include <rte_memzone.h>
@@ -88,7 +86,7 @@ test_logs(void)
        RTE_LOG(DEBUG, TESTAPP1, "this is a debug level message\n");
        RTE_LOG(DEBUG, TESTAPP2, "debug level message (not displayed)\n");
 
-       rte_log_dump_history();
+       rte_log_dump_history(stdout);
 
        return 0;
 }