Closed trofi closed 1 year ago
Without the change gcc-14 fails the build with -Werror=format-security as:
gcc-14
-Werror=format-security
util.c:340:25: error: format not a string literal and no format arguments [-Werror=format-security] 340 | fprintf(stream, buf); | ^~~
It's a harmless warning as UUID has a well-defined set of characters. But fputs() expresses intent more directly to print the string as is.
UUID
fputs()
Thank you
Without the change
gcc-14
fails the build with-Werror=format-security
as:It's a harmless warning as
UUID
has a well-defined set of characters. Butfputs()
expresses intent more directly to print the string as is.