1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Catch a few places where NULL (pointer) was used where 0 (integer) was

expected (fix build).
This commit is contained in:
Hajimu UMEMOTO 2003-12-23 11:01:17 +00:00
parent e186f5128a
commit a46f7e7c92
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123760

View File

@ -2097,10 +2097,10 @@ do { \
caddr_t oval = (caddr_t)sopt->sopt_val;
error = soopt_getm(sopt, &m); /* XXX */
if (error != NULL)
if (error != 0)
break;
error = soopt_mcopyin(sopt, m); /* XXX */
if (error != NULL)
if (error != 0)
break;
sopt->sopt_valsize = ovalsize;
sopt->sopt_val = oval;