diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-17 19:40:44 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-03-17 19:40:44 +0000 |
commit | d56c7210e6997f393bece0935d359c05d01a0efa (patch) | |
tree | 9807932348e40879566df0fc405cff1a547d791d /sys/dev/cninit.c | |
parent | e3a77a309cd3e34064bed90fbff49f7c78cfb732 (diff) |
Last parameter to execl[e]() functions *must* be cast to a pointer.
Just NULL is not good practise as NULL is theoretically allowed to
be an integer rather than a pointer.
Use (char *)NULL consistently instead of scattering a few (char *)0
and (void *)NULL into the mix.
Prompted by and probably ok deraadt@ millert@ kettenis@
Definitely ok mestre@ ratchov@
Diffstat (limited to 'sys/dev/cninit.c')
0 files changed, 0 insertions, 0 deletions