Skip to content

fix incorrect format specifier for N_ARENA in h_malloc_info#358

Closed
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:fix_format_specifier_config_stats
Closed

fix incorrect format specifier for N_ARENA in h_malloc_info#358
rdevshp wants to merge 1 commit into
GrapheneOS:mainfrom
rdevshp:fix_format_specifier_config_stats

Conversation

@rdevshp

@rdevshp rdevshp commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
CFLAGS=-Wformat-signedness make CC=gcc CONFIG_STATS=true

fails with gcc 14.2.0 because of the wrong format specifier. This PR fixes the format specifier used in fprintf in h_malloc_info.

@thestinger

Copy link
Copy Markdown
Member

I think the type of N_ARENA should be changed instead of doing this.

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.

2 participants