Skip to content

fix: partition ID printf uses wrong format specifier - #17

Open
andrewwhitecdw wants to merge 1 commit into
NVIDIA:mainfrom
andrewwhitecdw:codequality/fmpm-partition-id-printf-uses-wrong-format
Open

fix: partition ID printf uses wrong format specifier#17
andrewwhitecdw wants to merge 1 commit into
NVIDIA:mainfrom
andrewwhitecdw:codequality/fmpm-partition-id-printf-uses-wrong-format

Conversation

@andrewwhitecdw

@andrewwhitecdw andrewwhitecdw commented Jul 31, 2026

Copy link
Copy Markdown

I am fairly sure this PR is correct, if not let me know. This PR addresses the following issue in fmpm.cpp: partition ID printf uses wrong format specifier.

Changes

  • fmpm.cpp: partition ID printf uses wrong format specifier.

Details

--- a/fmpm.cpp
+++ b/fmpm.cpp
@@ -1,1 +1,1 @@
-            printf("Invalid partition Id %u was given.\n", partId);
+            printf("Invalid partition Id %d was given.\n", partId);

Tests

Let me know if you want tests added for this fix or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant