Skip to content

Fix raw format specifiers in benchmarking settings prompt (#853)#858

Merged
darshan2456 merged 1 commit into
darshan2456:mainfrom
Akshatshukla-25:main
Jul 16, 2026
Merged

Fix raw format specifiers in benchmarking settings prompt (#853)#858
darshan2456 merged 1 commit into
darshan2456:mainfrom
Akshatshukla-25:main

Conversation

@Akshatshukla-25

Copy link
Copy Markdown
Contributor

Description

This PR resolves issue #853, where the Benchmarking Settings configuration menu prompt displayed raw %d and %s format specifiers instead of the active/current values for iterations and report format.

resolves #853

Changes

  • Updated benchmark_demo.c to format the settings prompt dynamically using snprintf with the current configurations before passing it to safe_input_int.

Verification & Testing

  • Compiled successfully without warnings/errors using make.
  • Ran all automated unit tests (make test), and verified that all existing tests pass successfully.

@darshan2456
darshan2456 merged commit 28d0507 into darshan2456:main Jul 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Benchmarking settings prompt displays raw format specifiers instead of current values

2 participants