diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 05:40:12 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-12-10 05:40:12 +0000 |
commit | 91f9161737079d14e086d7f4bd4e379be022bebd (patch) | |
tree | 0a73a2e1b79e9b63a9598d6b4feb8ba28a2b2806 /sys/kern/kern_sx.c | |
parent | c94659ae01c85d6800b82222aa31986f334ec1e3 (diff) | |
download | src-91f9161737079d14e086d7f4bd4e379be022bebd.tar.gz src-91f9161737079d14e086d7f4bd4e379be022bebd.zip |
Repeat after me -- "Use of ANSI string concatenation can be bad."
In this case, C99's __func__ is properly defined as:
static const char __func__[] = "function-name";
and GCC 3.1 will not allow it to be used in bogus string concatenation.
Notes
Notes:
svn path=/head/; revision=87593
Diffstat (limited to 'sys/kern/kern_sx.c')
0 files changed, 0 insertions, 0 deletions