Skip to content

clients: fix len-string formatting

Pekka Paalanen requested to merge pq/weston:mr/printfixes into master

All these have the printf format string wrong. "%*s" sets the field width but does not limit the string to len bytes. You need to set precision instead to limit to len bytes: "%.*s".

Found by grepping, after wondering why my WIP prints printed garbage at the end.

Merge request reports

Loading