Commit a9a59565 authored by Sam Roberts's avatar Sam Roberts
Browse files

src: fix warning for potential snprintf truncation

gcc 8+ recognizes that space has not been left for the pid and that the
return value of snprintf() isn't checked. Leave a little space for the
pid to prevent `-Wformat-truncation`.

PR-URL: https://github.com/nodejs/node/pull/24810


Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
parent bcef949c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment