summaryrefslogtreecommitdiff
path: root/mtd_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mtd_debug.c')
-rw-r--r--mtd_debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mtd_debug.c b/mtd_debug.c
index 4934699..928cb5a 100644
--- a/mtd_debug.c
+++ b/mtd_debug.c
@@ -158,7 +158,7 @@ retry:
if (buf != NULL)
free (buf);
close (outfd);
- printf ("Copied %d bytes from address 0x%.8x in flash to %s\n",len,offset,filename);
+ printf ("Copied %zu bytes from address 0x%.8x in flash to %s\n",len,offset,filename);
return (0);
err2:
@@ -309,7 +309,7 @@ int showinfo (int fd)
{
if (first)
{
- printf (flags[i].name);
+ printf ("%s", flags[i].name);
first = 0;
}
else printf (" | %s",flags[i].name);