arch/arm/src/lc823450/lc823450_mtd.c: Fix a printf format warning
This commit is contained in:
parent
c3d87ed46c
commit
04883b2604
@ -26,6 +26,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
@ -788,7 +789,7 @@ int lc823450_mtd_uninitialize(uint32_t devno)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
snprintf(devname, 16, "/dev/mtdblock%d", devno);
|
||||
snprintf(devname, 16, "/dev/mtdblock%" PRId32, devno);
|
||||
|
||||
#ifdef CONFIG_MTD_REGISTRATION
|
||||
mtd_unregister(g_mtdmaster[ch]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user