What's wrong with printf("%s", NULL)? It produces '(null)', and at
least it's visible something is missing there. I think gcc 9.3 is
overly eager for this.

Is it correct to just omit the parameter altogether and change output format?

Jaromir

Le dim. 6 sept. 2020 à 04:41, matthew green <m...@netbsd.org> a écrit :
>
> Module Name:    src
> Committed By:   mrg
> Date:           Sun Sep  6 02:34:03 UTC 2020
>
> Modified Files:
>         src/sbin/amrctl: amrctl.c
>
> Log Message:
> avoid calling printf() %s with NULL.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.11 -r1.12 src/sbin/amrctl/amrctl.c
>
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
>

Reply via email to