diff --git a/APP/main.c b/APP/main.c index 4f1e8fe..571212c 100644 --- a/APP/main.c +++ b/APP/main.c @@ -263,7 +263,7 @@ int main(int argc, char *argv[]) { return 1; } - printf("Write to file: \"%s\" %zu bytes: %.*s\n", argv[2], bytes_written, (int) bytes_written, egtsHexStr); + printf("Write to file: \"%s\" %zu bytes: %.*s\n", argv[2], bytes_written, (int) egtsHexStrLen, egtsHexStr); fclose(output_file);