From bffba65e37d38166879cab93776a3ddfc653a4be Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 20 Nov 2020 16:54:02 +0900 Subject: [PATCH] drivers/ramdisk.c: Fix a syslog format --- drivers/ramdisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ramdisk.c b/drivers/ramdisk.c index d5697d4f1c..5dccdbe112 100644 --- a/drivers/ramdisk.c +++ b/drivers/ramdisk.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include @@ -414,7 +415,7 @@ int ramdisk_register(int minor, FAR uint8_t *buffer, uint32_t nsectors, char devname[16]; int ret = -ENOMEM; - finfo("buffer: %p nsectors: %d sectsize: %d\n", + finfo("buffer: %p nsectors: %" PRIu32 " sectsize: %" PRIu16 "\n", buffer, nsectors, sectsize); /* Sanity check */