Skip to content

Conversation

@Konamiman
Copy link
Owner

@Konamiman Konamiman commented Jun 7, 2025

Support for printing long integers in printf.c was disabled, this caused the "Test device access" tool in FDISK to display "Now reading device sector u" instead of the actual sector number.

Additionally, printing long numbers wasn't properly implemented in printf.c. That's also fixed.

@Konamiman Konamiman added this to the v2.1.3 milestone Jun 7, 2025
@Konamiman Konamiman self-assigned this Jun 7, 2025
@gnogni
Copy link

gnogni commented Jun 7, 2025

Hi Konamiman, please remember to also add the %lu to line 1248 of [ fdisk.c ]:

sprintf(buffer + strlen(errorMessageHeader), "%lu", sectorNumber);

Thank you. ;-D

@Konamiman
Copy link
Owner Author

@gnogni Good catch, thank you!

@Konamiman Konamiman merged commit eeca10e into v2.1 Jun 8, 2025
1 check failed
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.

3 participants