summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-09-03 04:19:53 +0000
committertb <tb@openbsd.org>2020-09-03 04:19:53 +0000
commit7c730607236414952d5ac3fe21618acd39e9ded2 (patch)
tree181cd97f0270cf9e1a3db6bafafc5ebb5ede5247 /sys/dev/softraid.c
parentAdd #define SID_SCSI2_RESPONSE 0x2 to allow elimination of another bunch of (diff)
downloadwireguard-openbsd-7c730607236414952d5ac3fe21618acd39e9ded2.tar.xz
wireguard-openbsd-7c730607236414952d5ac3fe21618acd39e9ded2.zip
Switch use of '\0' to NULL
Fix a clang 10 warning about comparing a pointer to a null character. The condition "if ((s = symnam[i]) == '\0')" used to be "if (s = symnam[i])" and the incorrect spelling of NULL was chosen in a -Wall cleanup 19 years ago (-r 1.6). Upstream uses a naked 0 instead of NULL, so does NetBSD. ok martijn millert
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions