diff options
Diffstat (limited to 'flash_info.c')
-rw-r--r-- | flash_info.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/flash_info.c b/flash_info.c index 7157b9e..f5ed1c6 100644 --- a/flash_info.c +++ b/flash_info.c @@ -1,6 +1,6 @@ /* * flash_info.c -- print info about a MTD device -*/ + */ #include <unistd.h> #include <stdlib.h> @@ -41,13 +41,13 @@ int main(int argc,char *argv[]) if(ioctl(Fd, MEMGETREGIONINFO, ®info) == 0) { printf("Region %d is at 0x%x with size 0x%x and " - "has 0x%x blocks\n", i, reginfo.offset, - reginfo.erasesize, reginfo.numblocks); + "has 0x%x blocks\n", i, reginfo.offset, + reginfo.erasesize, reginfo.numblocks); } else { printf("Strange can not read region %d from a %d region device\n", - i, regcount); + i, regcount); } } } |