On Tue, 12 Mar 2024 15:52:36 +0800 Dengdui Huang <huangdeng...@huawei.com> wrote:
> - ret = snprintf(str, len, "Link up at %s %s %s", > + ret = snprintf(str, len, "Link up at %s %ulanes %s %s", Don't you want a space after %u? Could you make it so that lanes is only part of the message if non-default value is used?