diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-06-16 14:45:55 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2007-06-16 14:45:55 +0000 |
commit | 4b97f3cbb9603c13f69f8d3b5371c12045593126 (patch) | |
tree | c08fe66aa95fc2aac51a1bdf34cf5f4882dfe65b /src/flash/nand.c | |
parent | 3d026ce94393e5e53cccb5d5364f9d500d5b3733 (diff) |
- added mingw elf patches from Vincent Palatin
- added str9x programming using flash controller tap (str9xpec), including option bytes and device lock/unlock
- inttypes.h now used for long long printf style declarations
git-svn-id: svn://svn.berlios.de/openocd/trunk@174 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/nand.c')
-rw-r--r-- | src/flash/nand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nand.c b/src/flash/nand.c index 7ff73512..d06a232c 100644 --- a/src/flash/nand.c +++ b/src/flash/nand.c @@ -31,6 +31,7 @@ #include <stdlib.h> #include <string.h> +#include <inttypes.h> #include <errno.h> @@ -1387,7 +1388,7 @@ int handle_nand_dump_command(struct command_context_s *cmd_ctx, char *cmd, char fileio_close(&fileio); duration_stop_measure(&duration, &duration_text); - command_print(cmd_ctx, "dumped %lli byte in %s", fileio.size, duration_text); + command_print(cmd_ctx, "dumped %"PRIi64" byte in %s", fileio.size, duration_text); free(duration_text); } else |