X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fpld%2Fpld.c;h=6da105b3c671fedf5d1bf0f2e562ba4ff6c6d8cd;hb=d86100261252805215282b17d214c48021ef7f79;hp=8b3b1ac3cdc2c5cac7e8639fd39c77a346ea47ea;hpb=570631454df083f2af26e453939424a14a9684f1;p=openocd.git diff --git a/src/pld/pld.c b/src/pld/pld.c index 8b3b1ac3cd..6da105b3c6 100644 --- a/src/pld/pld.c +++ b/src/pld/pld.c @@ -189,9 +189,9 @@ int handle_pld_load_command(struct command_context_s *cmd_ctx, char *cmd, char * gettimeofday(&end, NULL); timeval_subtract(&duration, &end, &start); - command_print(cmd_ctx, "loaded file %s to pld device %lu in %lis %lius", + command_print(cmd_ctx, "loaded file %s to pld device %lu in %jis %jius", args[1], strtoul(args[0], NULL, 0), - duration.tv_sec, duration.tv_usec); + (intmax_t)duration.tv_sec, (intmax_t)duration.tv_usec); } return ERROR_OK;