summaryrefslogtreecommitdiff
path: root/sys/kern/subr_clist.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-02-03 07:51:41 +0000
committerWarner Losh <imp@FreeBSD.org>2009-02-03 07:51:41 +0000
commitd710cae75a79d05168b545a8064f32d7363328fe (patch)
treeafad24e19697fca3d6c6c4029ddc688984bf51b7 /sys/kern/subr_clist.c
parent4592c621f34bc62d9e1db7d2caf426471f63fe9f (diff)
Notes
Diffstat (limited to 'sys/kern/subr_clist.c')
-rw-r--r--sys/kern/subr_clist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index 65a03b82a18c..f159ed41041a 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -43,7 +43,7 @@ SYSINIT(clist, SI_SUB_CLIST, SI_ORDER_FIRST, clist_init, NULL);
static MALLOC_DEFINE(M_CLIST, "clist", "clist queue blocks");
-static struct cblock *cfreelist = 0;
+static struct cblock *cfreelist = NULL;
int cfreecount = 0;
static int cslushcount;
static int ctotcount;
@@ -478,7 +478,7 @@ b_to_q(char *src, int amount, struct clist *clistp)
int
unputc(struct clist *clistp)
{
- struct cblock *cblockp = 0, *cbp = 0;
+ struct cblock *cblockp = NULL, *cbp = NULL;
int s;
int chr = -1;