Files
nuttx-apps/testing
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
..
2024-10-16 17:10:33 +02:00
2024-11-13 13:18:17 +08:00
2024-08-17 13:46:03 +08:00
2024-11-17 21:10:25 +08:00
2024-12-17 02:20:15 +08:00
2024-12-23 22:40:00 +08:00
2024-08-27 22:07:57 +08:00
2024-02-05 08:46:22 -08:00
2024-03-23 22:12:46 +01:00
2024-10-29 12:30:42 +08:00
2023-07-08 13:52:02 +08:00