Fixed misspellings of 0 as NULL.
This commit is contained in:
parent
263bf898e0
commit
00925a8e84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126839
@ -336,11 +336,11 @@ mbpr(u_long mbaddr, u_long mbtaddr __unused, u_long nmbcaddr, u_long nmbufaddr,
|
||||
printf("\t%.1f%% of cluster map consumed\n",
|
||||
totspace[1] * 100.0 / (nmbclusters * MCLBYTES));
|
||||
mlen = sizeof(nsfbufs);
|
||||
if (!sysctlbyname("kern.ipc.nsfbufs", &nsfbufs, &mlen, NULL, NULL) &&
|
||||
if (!sysctlbyname("kern.ipc.nsfbufs", &nsfbufs, &mlen, NULL, 0) &&
|
||||
!sysctlbyname("kern.ipc.nsfbufsused", &nsfbufsused, &mlen, NULL,
|
||||
NULL) &&
|
||||
0) &&
|
||||
!sysctlbyname("kern.ipc.nsfbufspeak", &nsfbufspeak, &mlen, NULL,
|
||||
NULL)) {
|
||||
0)) {
|
||||
printf("%d/%d/%d sfbufs in use (current/peak/max)\n",
|
||||
nsfbufsused, nsfbufspeak, nsfbufs);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user