Fix incorrect format placeholders
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 10 Mar 2023 06:10:43 +0000 (07:10 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 10 Mar 2023 06:10:43 +0000 (07:10 +0100)
src/backend/jit/llvm/llvmjit.c

index 312612115ca2abf33727076e873fa5a39b5bb417..a8b73a9cf14b5900cdbbc0073e3514069a87a5d3 100644 (file)
@@ -658,7 +658,7 @@ llvm_compile_module(LLVMJitContext *context)
    {
        char       *filename;
 
-       filename = psprintf("%u.%zu.bc",
+       filename = psprintf("%d.%zu.bc",
                            MyProcPid,
                            context->module_generation);
        LLVMWriteBitcodeToFile(context->module, filename);
@@ -677,7 +677,7 @@ llvm_compile_module(LLVMJitContext *context)
    {
        char       *filename;
 
-       filename = psprintf("%u.%zu.optimized.bc",
+       filename = psprintf("%d.%zu.optimized.bc",
                            MyProcPid,
                            context->module_generation);
        LLVMWriteBitcodeToFile(context->module, filename);