add FILE argument to debug functions
[dpdk.git] / app / test / test_memory.c
index 30e59cd..b734417 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
@@ -34,8 +34,6 @@
 #include <stdio.h>
 #include <stdint.h>
 
-#include <cmdline_parse.h>
-
 #include <rte_memory.h>
 #include <rte_common.h>
 
@@ -65,7 +63,7 @@ test_memory(void)
         * that at least one line is dumped
         */
        printf("Dump memory layout\n");
-       rte_dump_physmem_layout();
+       rte_dump_physmem_layout(stdout);
 
        /* check that memory size is != 0 */
        s = rte_eal_get_physmem_size();