]> git.sur5r.net Git - openocd/blobdiff - src/pld/pld.c
Factoring of jtag_examine_chain for maintainability:
[openocd] / src / pld / pld.c
index 8b3b1ac3cdc2c5cac7e8639fd39c77a346ea47ea..6da105b3c671fedf5d1bf0f2e562ba4ff6c6d8cd 100644 (file)
@@ -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;