nuttx-apps/testing/memstress
chenrun1 42d6ae6d07 memorystress:fix build warning
Summary:
CC:  memorystress_main.c memorystress_main.c: In function ‘global_init’:
memorystress_main.c:39:26: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint32_t’ {aka ‘unsigned int’} [-Wformat=]
   39 | #define MEMSTRESS_PREFIX "MemoryStress:"
      |                          ^~~~~~~~~~~~~~~
memorystress_main.c:442:22: note: in expansion of macro ‘MEMSTRESS_PREFIX’
  442 |     syslog(LOG_INFO, MEMSTRESS_PREFIX "\n max_allocsize: %zu\n"
      |                      ^~~~~~~~~~~~~~~~
memorystress_main.c:443:41: note: format string is defined here
  443 |            " nodelen: %zu\n sleep_us: %lu\n nthreads: %zu\n debug: %s\n",
      |                                       ~~^
      |                                         |
      |                                         long unsigned int
      |                                       %u

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2024-12-23 22:40:00 +08:00
..
CMakeLists.txt cmake:port testing applications to CMake build 2024-06-29 22:31:03 +08:00
Kconfig apps:move test tools to testing. 2023-10-26 13:17:28 +02:00
Make.defs apps:move test tools to testing. 2023-10-26 13:17:28 +02:00
Makefile apps:move test tools to testing. 2023-10-26 13:17:28 +02:00
memorystress_main.c memorystress:fix build warning 2024-12-23 22:40:00 +08:00