diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-05-27 17:38:36 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-05-27 17:38:36 +0000 |
| commit | 1c293049d9a088a6cba4b464e1505a5a66e5a57e (patch) | |
| tree | 8f85a9373617dcc5b76d40c3040242053e83bddf /sys | |
| parent | 097e1ea87fbf6dbb0807285d708c24e65da80b0c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/subr_mbpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_mbpool.c b/sys/kern/subr_mbpool.c index 400c6da25065..ab80a5e4572f 100644 --- a/sys/kern/subr_mbpool.c +++ b/sys/kern/subr_mbpool.c @@ -338,7 +338,7 @@ mbp_count(struct mbpool *p, u_int *used, u_int *card, u_int *free) } mtx_lock(&p->free_lock); SLIST_FOREACH(cf, &p->free_list, link) - *free++; + (*free)++; mtx_unlock(&p->free_lock); } |
